[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
This commit is contained in:
Lucas Perais (lpe)
2019-01-15 14:28:01 +00:00
parent 1e966452ff
commit 8e87075724
+2
View File
@@ -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">