[IMP] hr_expense: clean the controlpanel action menu

For the model 'hr.expense', rename the action menu 'Submit Report' by
'Submit report' and set it only for the list view.

Linked to task 1984526
Related to PR #33720
This commit is contained in:
Hiral Bhavsar
2019-07-10 15:07:57 +00:00
committed by Thibault Delavallée
parent 32c01d1850
commit 5a2c3286ea
@@ -834,6 +834,7 @@
<field name="type">ir.actions.server</field>
<field name="model_id" ref="model_hr_expense"/>
<field name="binding_model_id" ref="model_hr_expense"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
if records: