[IMP] product: Add the the sale price on product template list view

product,point_of_sale: Add a widget handle on the sequence, to be able to order the products
easily for the ecommerce for example. (Move it from the PoS module to the
product module)
This commit is contained in:
Yannick Tivisse
2016-05-25 14:28:23 +02:00
parent 42b844e8ef
commit 0f1bae347e
2 changed files with 2 additions and 11 deletions
@@ -43,14 +43,4 @@
</group>
</field>
</record>
<record id="product_template_tree_view" model="ir.ui.view">
<field name="name">product.template.tree.inherit</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_tree_view"/>
<field name="arch" type="xml">
<field name="name" position="before">
<field name="sequence" widget="handle" />
</field>
</field>
</record>
</odoo>
+2 -1
View File
@@ -54,9 +54,10 @@
<field name="model">product.template</field>
<field name="arch" type="xml">
<tree string="Product">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="list_price"/>
<field name="standard_price"/>
<field name="weight"/>
<field name="categ_id"/>
<field name="type"/>
<field name="uom_id" invisible="1"/>