Add a notebook on purchase line form

This commit is contained in:
Cédric Krier
2009-01-15 18:59:22 +01:00
parent 0ed20a17b4
commit 23bb0cc2c4
+40 -32
View File
@@ -578,38 +578,46 @@ this repository contains the full copyright notices and license terms. -->
<form string="Purchase Line" cursor="product">
<label name="purchase"/>
<field name="purchase" colspan="3"/>
<label name="type"/>
<field name="type"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="product"/>
<field name="product">
<tree string="Products">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="list_price_uom" select="2"/>
<field name="cost_price_uom" select="2"/>
<field name="quantity" select="2"/>
<field name="forecast_quantity" select="2"/>
<field name="default_uom" select="2"/>
<field name="active" select="2"/>
</tree>
</field>
<newline/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="unit"/>
<field name="unit"/>
<label name="unit_price"/>
<field name="unit_price"/>
<label name="amount"/>
<field name="amount"/>
<separator name="taxes" colspan="4"/>
<field name="taxes" colspan="4"/>
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4" spell="_parent_purchase.party_lang"/>
<notebook colspan="4">
<page string="General" id="general">
<label name="type"/>
<field name="type"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="product"/>
<field name="product">
<tree string="Products">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="list_price_uom" select="2"/>
<field name="cost_price_uom" select="2"/>
<field name="quantity" select="2"/>
<field name="forecast_quantity" select="2"/>
<field name="default_uom" select="2"/>
<field name="active" select="2"/>
</tree>
</field>
<newline/>
<label name="description"/>
<field name="description" colspan="3"
spell="_parent_purchase.party_lang"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="unit"/>
<field name="unit"/>
<label name="unit_price"/>
<field name="unit_price"/>
<label name="amount"/>
<field name="amount"/>
<separator name="taxes" colspan="4"/>
<field name="taxes" colspan="4"/>
</page>
<page string="Comment" id="comment">
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"
spell="_parent_purchase.party_lang"/>
</page>
</notebook>
<field name="unit_digits" invisible="1" colspan="4"/>
</form>
]]>