[IMP] sale: remove useless kanban field contexts

These are not evaluated, kanban fields in creation mode will use the
contexts defined in the form arch defined above.
This commit is contained in:
qsm-odoo
2015-09-15 17:05:21 +02:00
parent 037ee039d1
commit 9e6f9b4cc7
+3 -7
View File
@@ -261,13 +261,9 @@
<field name="invoice_status" invisible="1"/>
</tree>
<kanban class="o_kanban_mobile">
<field name="product_id"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'uom':product_uom}"
/>
<field name="product_uom_qty"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'uom':product_uom}"/>
<field name="product_uom"
groups="product.group_uom" options='{"no_open": True}'/>
<field name="product_id"/>
<field name="product_uom_qty"/>
<field name="product_uom" groups="product.group_uom"/>
<field name="price_subtotal"/>
<templates>
<t t-name="kanban-box">