Serach Group

This commit is contained in:
michel 2017-11-15 10:25:41 +01:00
parent eaf4999a22
commit aeb16e6923
5 changed files with 12 additions and 13 deletions

3
.floo
View File

@ -1,3 +0,0 @@
{
"url": "https://floobits.com/yaltik/coworking"
}

View File

@ -1,9 +0,0 @@
#*
*.o
*.pyc
*~
extern/
heroku.yml
node_modules/
tmp
vendor/

View File

View File

@ -4,7 +4,7 @@
<!-- Action to open Coworkers list -->
<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}" />
<!-- Menu item to open Event list -->
<menuitem id="event_menu" name="Event" action="event_action" />

View File

@ -81,5 +81,16 @@
</search>
</field>
</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>