hr_holidays_lunch_voucher: Test before commit, not after, stupid !

This commit is contained in:
Alexis de Lattre
2017-12-04 15:06:33 +01:00
parent f9951890b5
commit a05263be77
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@
<menuitem id="lunch_voucher_attribution_menu" <menuitem id="lunch_voucher_attribution_menu"
action="lunch_voucher_attribution_action" action="lunch_voucher_attribution_action"
parent="hr_holidays.menu_open_ask_holidays" sequence="200"/> parent="hr_holidays.menu_hr_holidays_my_leaves" sequence="200"/>
<act_window id="lunch_voucher_attribution_action_create_po" <act_window id="lunch_voucher_attribution_action_create_po"
multi="True" multi="True"

View File

@@ -19,7 +19,7 @@
<!-- <field name="lunch_voucher_po_type"/> --> <!-- <field name="lunch_voucher_po_type"/> -->
<field name="lunch_voucher_employer_price"/> <field name="lunch_voucher_employer_price"/>
</group> </group>
</group> </xpath>
</field> </field>
</record> </record>

View File

@@ -13,7 +13,7 @@
<field name="name">HR Officer sees all Lunch Voucher Attributions</field> <field name="name">HR Officer sees all Lunch Voucher Attributions</field>
<field name="model_id" ref="hr_holidays_lunch_voucher.model_lunch_voucher_attribution"/> <field name="model_id" ref="hr_holidays_lunch_voucher.model_lunch_voucher_attribution"/>
<field name="domain_force">[(1, '=', 1)]</field> <field name="domain_force">[(1, '=', 1)]</field>
<field name="groups" eval="[(4, ref('base.group_hr_manager'))]"/> <field name="groups" eval="[(4, ref('hr.group_hr_manager'))]"/>
</record> </record>
<record id="lunch_voucher_attribution_multicompany_rule" model="ir.rule"> <record id="lunch_voucher_attribution_multicompany_rule" model="ir.rule">