Menu
This commit is contained in:
parent
a0d00c22e0
commit
0ff1cc2066
@ -26,9 +26,10 @@
|
|||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': ['views/res_partner_views.xml',
|
'data': ['views/res_partner_views.xml',
|
||||||
'views/res_partner_menu.xml'],
|
# 'views/res_partner_menu.xml'
|
||||||
# 'security/ir.model.access.csv',
|
# 'security/ir.model.access.csv',
|
||||||
# 'views/coworker_views.xml'
|
# 'views/coworker_views.xml'
|
||||||
|
],
|
||||||
|
|
||||||
'depends': ['coworking_base']
|
'depends': ['coworking_base']
|
||||||
}
|
}
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
|
|
||||||
<!-- Action to open Coworkers list -->
|
|
||||||
<act_window id="contacts.action_contacts" name="Contacts"
|
|
||||||
res_model="res.partner" view_mode="tree,form,kanban,calendar" />
|
|
||||||
|
|
||||||
<!-- Menu item to open Coworkers list -->
|
|
||||||
<!-- <menuitem id="ir.actions" name="Contacts" action="contacts_action" /> -->
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
|
@ -67,6 +67,9 @@
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Calendar -->
|
<!-- Calendar -->
|
||||||
|
<act_window id="contacts.action_contacts" name="Contacts"
|
||||||
|
res_model="res.partner" view_mode="calendar" />
|
||||||
|
|
||||||
<record id="view_calendar_res_partner" model="ir.ui.view">
|
<record id="view_calendar_res_partner" model="ir.ui.view">
|
||||||
<field name="name">res.partner.calendar.inherit</field>
|
<field name="name">res.partner.calendar.inherit</field>
|
||||||
<field name="model">res.partner</field>
|
<field name="model">res.partner</field>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user