You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Created the category Dental Clinic to set the Groups -->
<record id="module_category_dental_clinic" model="ir.module.category">
<field name="name">Dental Clinic</field>
<field name="sequence">18</field>
</record>
<!-- Created the Groups as Own Documents Only and this groups will be only access their own datas -->
<record id="group_dental_doctor" model="res.groups">
<field name="name">User: Own Documents Only</field>
<field name="category_id" ref="module_category_dental_clinic"/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="comment">the user will have access to his own data in the dental clinic application.</field>
</record>
<!-- Created the Groups as OManager and this groups can we view all the datas -->
<record id="group_dental_manager" model="res.groups">
<field name="name">Manager</field>
<field name="comment">the user will have an access to all the dental clinic configuration.</field>
<field name="category_id" ref="module_category_dental_clinic"/>
<field name="implied_ids" eval="[(4, ref('group_dental_doctor'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</odoo>