Skip to content
Extraits de code Groupes Projets
Valider 55995cf9 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[add] group category

parent 7f075ca9
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -5,6 +5,23 @@ ...@@ -5,6 +5,23 @@
<odoo> <odoo>
<data noupdate="0"> <data noupdate="0">
<!-- Categories & Groups -->
<!-- Add Cotisations group category -->
<record model="ir.module.category" id="cgscop_cotisation_cg_module_category">
<field name="name">Cotisation</field>
</record>
<!-- Add cotisations groups -->
<record id="group_cotisation_cg_administrative" model="res.groups">
<field name="name">Gestionnaire des cotisations</field>
<field name="category_id" ref="cgscop_cotisation_cg_module_category"/>
<field name="implied_ids" eval="[(6, 0, [ref('account.group_account_manager')])]"/>
</record>
<!-- Rules -->
<!-- Cotiz only for own company -->
<record id="cg_cotisation_cg_rule" model="ir.rule"> <record id="cg_cotisation_cg_rule" model="ir.rule">
<field name="name">Cotisations consultables que pour sa société</field> <field name="name">Cotisations consultables que pour sa société</field>
<field name="model_id" ref="cgscop_cotisation_cg.model_scop_cotisation_cg"/> <field name="model_id" ref="cgscop_cotisation_cg.model_scop_cotisation_cg"/>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter