summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-01-15 14:28:01 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-01-15 14:28:01 +0000
commit8e87075724d0e9e4433d5bf5c3dfd3e62b48d67b (patch)
tree32e48b25a2e75fe6aaa23537e4ae883f69d3fdcd
parent1e966452ff1c29b0e31048159780fc623e21a4b3 (diff)
[FIX] sale: inline form SO contains price_total
When removing the editable attribute on the list view of th o2m towards order_line, when adding a line, the price_total of the line was neither computed nor sent to the onchange of the sale order now it is OPW 1914740 closes odoo/odoo#30234
-rw-r--r--addons/sale/views/sale_views.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml
index dd8104d6938..ceaad5477ee 100644
--- a/addons/sale/views/sale_views.xml
+++ b/addons/sale/views/sale_views.xml
@@ -253,6 +253,7 @@
<field name="invoice_status" invisible="1"/>
<field name="qty_to_invoice" invisible="1"/>
<field name="qty_delivered_updateable" invisible="1"/>
+ <field name="price_total" invisible="1"/>
<field name="price_subtotal" invisible="1"/>
<label for="product_uom_qty" string="Ordered Quantity"/>
<div>
@@ -339,6 +340,7 @@
<field name="product_uom_qty"/>
<field name="product_uom" groups="product.group_uom"/>
<field name="price_subtotal"/>
+ <field name="price_total" invisible="1"/>
<field name="price_unit"/>
<templates>
<t t-name="kanban-box">