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.
 
 
 
 
 

29 lines
1.3 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Category for the groups-->
<record model="ir.module.category" id="certificate_license_expiry">
<field name="name">Certificates License Expiry</field>
<field name="description">Access For Certificates License Expiry Module
</field>
<field name="sequence">10</field>
</record>
<!--Group for the Customer-->
<record id="certificates_license_expiry_group_customer" model="res.groups">
<field name="name">Customer</field>
<field name="category_id"
ref="certificate_license_expiry.certificate_license_expiry"/>
</record>
<!--Group for the Manager-->
<record id="certificate_license_expiry_group_manager" model="res.groups">
<field name="name">Manager</field>
<field name="category_id"
ref="certificate_license_expiry.certificate_license_expiry"/>
<field name="implied_ids"
eval="[(4, ref('certificates_license_expiry_group_customer'))]"/>
</record>
<!--Assigning the Manager group for the default user-->
<record id="base.default_user" model="res.users">
<field name="groups_id"
eval="[(4,ref('certificate_license_expiry_group_manager'))]"/>
</record>
</odoo>