hr_holidays_lunch_voucher: Test before commit, not after, stupid !
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
|
||||
<menuitem id="lunch_voucher_attribution_menu"
|
||||
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"
|
||||
multi="True"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<!-- <field name="lunch_voucher_po_type"/> -->
|
||||
<field name="lunch_voucher_employer_price"/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<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="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 id="lunch_voucher_attribution_multicompany_rule" model="ir.rule">
|
||||
|
||||
Reference in New Issue
Block a user