[cgscop #236] ajout règle sécurité sur les heures théoriques

parent 487a7e66
......@@ -21,6 +21,14 @@
<field eval="True" name="global"/>
<record id="ur_month_timesheet_rule_ur" model="ir.rule">
<field name="name">ur month timesheet rule per ur</field>
<field name="model_id" ref="model_ur_month_timesheet"/>
<field name="domain_force">[('ur_id','=',user.company_id.ur_id.id)]</field>
<field name="groups" eval="[(6, 0, [ref('base.group_user')])]"/>
<field eval="True" name="global"/>
<record id="project_rule_ur" model="ir.rule">
<field name="name">project rule per ur</field>
<field name="model_id" ref="project.model_project_project"/>
......@@ -13,6 +13,7 @@
<field name="month" required="1"/>
<field name="working_time" required="1"/>
<field name="ur_id" options="{'no_open': True, 'no_create': True}" readonly="1"/>
<field name="company_id" groups="base.group_no_one" options="{'no_open': True, 'no_create': True}"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment