Files
tryton/product.xml
T
Cédric Krier 1468149cd7 Improve quantity on product
- Don't compute quantity for all products
- Pass context when calling function
- Use setdefault instead of searching key
- Remove form view for quantity and use the view from product modules (more
  flexible for futher inherits)
- Fix some quidelines
2008-05-09 12:52:17 +02:00

21 lines
725 B
XML

<?xml version="1.0"?>
<tryton>
<data>
<record model="ir.ui.view" id="product_view_tree_qty">
<field name="model">product.product</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Products">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="quantity" select="2"/>
<field name="default_uom" select="2"/>
<field name="active" select="2"/>
</tree>
]]>
</field>
</record>
</data>
</tryton>