Skip to content
Snippets Groups Projects
Commit 5a2c3286 authored by Hiral Bhavsar's avatar Hiral Bhavsar Committed by Thibault Delavallée
Browse files

[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
parent 32c01d18
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment