Improve views of purchase and line

review11691002
This commit is contained in:
Cédric Krier
2014-12-16 22:09:52 +01:00
parent bee2090620
commit d711b7c190
2 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="currency"/>
<field name="lines" colspan="4"
view_ids="purchase.purchase_line_view_tree_sequence"/>
<group col="2" colspan="2" id="states">
<group col="2" colspan="2" id="states" yalign="1" yfill="1">
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
@@ -32,7 +32,7 @@ this repository contains the full copyright notices and license terms. -->
<label name="state"/>
<field name="state"/>
</group>
<group col="2" colspan="2" id="amount_buttons">
<group col="2" colspan="2" id="amount_buttons" yalign="1" yfill="1">
<label name="untaxed_amount" xalign="1.0" xexpand="1"/>
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
<label name="tax_amount" xalign="1.0" xexpand="1"/>
+7 -6
View File
@@ -4,18 +4,18 @@ 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"/>
<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"
view_ids="purchase.product_view_list_purchase_line"/>
<newline/>
<label name="description"/>
<field name="description" colspan="3"
<field name="description" colspan="3" yexpand="0"
spell="Get(Eval('_parent_purchase', {}), 'party_lang')"/>
<label name="quantity"/>
<field name="quantity"/>
@@ -27,6 +27,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="amount"/>
<label name="delivery_date"/>
<field name="delivery_date"/>
</page>
<page string="Taxes" id="taxes">
<field name="taxes" colspan="4"/>
</page>
<page string="Notes" id="notes">
@@ -35,5 +37,4 @@ this repository contains the full copyright notices and license terms. -->
spell="Get(Eval('_parent_purchase', {}), 'party_lang')"/>
</page>
</notebook>
<field name="unit_digits" invisible="1" colspan="4"/>
</form>