Skip to content
Snippets Groups Projects
Commit b22935ca authored by Swapnesh Shah's avatar Swapnesh Shah Committed by GitHub
Browse files

[FIX] purchase_requisition: No drag and drop when grouped by state


Before this commit, it was possible to change the state of the Purchase Agreement when Grouped by `state` on Kanban view which is not Ideal Behavior.

Now we block drag and drop when grouping by State.

closes odoo/odoo#44674

Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
parent c258b8a0
Branches
Tags
No related merge requests found
......@@ -234,7 +234,7 @@
<div class="o_kanban_record_headings mt4">
<strong class="o_kanban_record_title"><span><field name="name"/></span></strong>
</div>
<field name="state" widget="label_selection" options="{'classes': {'draft': 'default', 'in_progress': 'default', 'open': 'success', 'done': 'success', 'close': 'danger'}}"/>
<field name="state" widget="label_selection" options="{'classes': {'draft': 'default', 'in_progress': 'default', 'open': 'success', 'done': 'success', 'close': 'danger'}}" readonly="1" />
</div>
<div class="o_kanban_record_body">
<span class="text-muted"><field name="type_id"/></span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment