mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-21 23:52:02 +02:00
19.0 vanilla
This commit is contained in:
parent
4607ccbd2e
commit
825ff6514e
487 changed files with 184979 additions and 195262 deletions
|
|
@ -1,19 +1,23 @@
|
|||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<record model="ir.module.category" id="module_lunch_category">
|
||||
|
||||
<record model="res.groups.privilege" id="res_groups_privilege_lunch">
|
||||
<field name="name">Lunch</field>
|
||||
<field name="description">Helps you handle your lunch needs, if you are a manager you will be able to create new products, cashmoves and to confirm or cancel orders.</field>
|
||||
<field name="sequence">16</field>
|
||||
<field name="category_id" ref="base.module_category_human_resources"/>
|
||||
</record>
|
||||
<record id="group_lunch_user" model="res.groups">
|
||||
<field name="name">User : Order your meal</field>
|
||||
<field name="category_id" ref="base.module_category_human_resources_lunch"/>
|
||||
<field name="sequence">10</field>
|
||||
<field name="privilege_id" ref="res_groups_privilege_lunch"/>
|
||||
</record>
|
||||
<record id="group_lunch_manager" model="res.groups">
|
||||
<field name="name">Administrator</field>
|
||||
<field name="sequence">20</field>
|
||||
<field name="comment">Be able to create new products, cashmoves and to confirm or cancel orders.</field>
|
||||
<field name="implied_ids" eval="[(4, ref('group_lunch_user'))]"/>
|
||||
<field name="category_id" ref="base.module_category_human_resources_lunch"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
||||
<field name="privilege_id" ref="res_groups_privilege_lunch"/>
|
||||
<field name="user_ids" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
||||
</record>
|
||||
|
||||
<data noupdate="1">
|
||||
|
|
@ -61,10 +65,6 @@
|
|||
<field name="groups" eval="[(4, ref('lunch.group_lunch_manager'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="base.default_user" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('lunch.group_lunch_manager'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="ir_rule_lunch_supplier_multi_company" model="ir.rule">
|
||||
<field name="name">Lunch supplier: Multi Company</field>
|
||||
<field name="model_id" ref="model_lunch_supplier"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue