Skip to content

Commit

Permalink
[IMP] hr_expense: clean the controlpanel action menu
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hbh-odoo authored and tde-banana-odoo committed Jul 10, 2019
1 parent 32c01d1 commit 5a2c328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/hr_expense/views/hr_expense_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5a2c328

Please sign in to comment.