Skip to content
Snippets Groups Projects
Commit cfcaed13 authored by mehjabinfarsana's avatar mehjabinfarsana
Browse files

[FIX] hr_expense: remove quick_create from expense report kanban view


before this commit, on expense report kanban view
after adding group by status, it allows the
to quick create expense report in approved
status.

after this commit, quick create is disabled

closes odoo/odoo#128831

Signed-off-by: default avatarLaurent Smet (las) <las@odoo.com>
parent 0c3e1abd
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@
<field name="name">hr.expense.kanban</field>
<field name="model">hr.expense</field>
<field name="arch" type="xml">
<kanban class="o_kanban_mobile hr_expense" sample="1" js_class="hr_expense_kanban">
<kanban class="o_kanban_mobile hr_expense" sample="1" js_class="hr_expense_kanban" quick_create="false">
<field name="name"/>
<field name="employee_id"/>
<field name="total_amount"/>
......
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