[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#131579

X-original-commit: 6848d8e37d1bce0cb767ba9328b38038b6056e77
Signed-off-by: Laurent Smet (las) <las@odoo.com>
This commit is contained in:
mehjabinfarsana
2023-08-16 16:05:35 +02:00
committed by Laurent Smet
parent 933856d669
commit 0b2133fe4a
+1 -1
View File
@@ -247,7 +247,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"/>