Serach Group
This commit is contained in:
parent
eaf4999a22
commit
aeb16e6923
@ -1,9 +0,0 @@
|
|||||||
#*
|
|
||||||
*.o
|
|
||||||
*.pyc
|
|
||||||
*~
|
|
||||||
extern/
|
|
||||||
heroku.yml
|
|
||||||
node_modules/
|
|
||||||
tmp
|
|
||||||
vendor/
|
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<!-- Action to open Coworkers list -->
|
<!-- Action to open Coworkers list -->
|
||||||
<act_window id="event_action" name="Event"
|
<act_window id="event_action" name="Event"
|
||||||
res_model="coworking.event" view_mode="tree,form"
|
res_model="coworking.event" view_mode="tree,form,calendar"
|
||||||
context="{'search_default_status_confirmed': True, 'search_default_status_draft': True}" />
|
context="{'search_default_status_confirmed': True, 'search_default_status_draft': True}" />
|
||||||
<!-- Menu item to open Event list -->
|
<!-- Menu item to open Event list -->
|
||||||
<menuitem id="event_menu" name="Event" action="event_action" />
|
<menuitem id="event_menu" name="Event" action="event_action" />
|
||||||
|
@ -81,5 +81,16 @@
|
|||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
<!-- Calendar -->
|
||||||
|
<record id="view_calendar_event" model="ir.ui.view">
|
||||||
|
<field name="name">Event Calendar</field>
|
||||||
|
<field name="model">coworking.event</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<calendar date_start="date_start"
|
||||||
|
display="Title : [title]" >
|
||||||
|
<field name="title" />
|
||||||
|
</calendar>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user