Skip to content
Snippets Groups Projects
Commit 67d17a6c authored by Jinal Patel's avatar Jinal Patel Committed by Barad Mahendra
Browse files

[FIX] hr_expense: Fix missing upload button on expense

currently, the upload button is removed in commit: https://github.com/odoo/odoo/commit/45f3659305359fff5b0c7bf3de7d49a25ba5c36d#diff-1db56050134b0962604e0407b7d23d39R41


But it should be displayed on list view.

So in this commit, show 'Upload' button on Expenses list view.

closes odoo/odoo#52341

Taskid: 2267580
Closes: #52341
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 6267d597
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@
<field name="name">hr.expense.tree</field>
<field name="model">hr.expense</field>
<field name="arch" type="xml">
<tree string="Expenses" multi_edit="1">
<tree string="Expenses" multi_edit="1" js_class="hr_expense_tree_dashboard_upload">
<field name="attachment_number" invisible="True"/>
<field name="date" optional="show"/>
<field name="accounting_date" optional="hide" groups="account.group_account_invoice,account.group_account_readonly"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment