Skip to content

Commit

Permalink
[FIX] purchase: No drag and drop when grouped by Vendor
Browse files Browse the repository at this point in the history
Fixes odoo#47727 
Closes odoo#47955
Before this commit, it was possible to change the Vendor/Currency of the PO when Grouped by Vendor/Currency on Kanban view which is not Ideal Behavior.

Now we block drag and drop using these fields.

closes odoo#47960

Signed-off-by: Simon Lejeune (sle) <[email protected]>
  • Loading branch information
sswapnesh authored Mar 18, 2020
1 parent 2d74471 commit 7b19964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/purchase/views/purchase_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,11 @@
<field name="arch" type="xml">
<kanban class="o_kanban_mobile">
<field name="name"/>
<field name="partner_id"/>
<field name="partner_id" readonly="1"/>
<field name="amount_total"/>
<field name="state"/>
<field name="date_order"/>
<field name="currency_id"/>
<field name="currency_id" readonly="1"/>
<field name="activity_state"/>
<progressbar field="activity_state" colors='{"planned": "success", "today": "warning", "overdue": "danger"}'/>
<templates>
Expand Down

0 comments on commit 7b19964

Please sign in to comment.