Improve views of invoice and line

review7801002
This commit is contained in:
Cédric Krier
2014-12-16 22:09:07 +01:00
parent 0e2c476e07
commit af05751b93
2 changed files with 12 additions and 12 deletions
+7 -7
View File
@@ -28,18 +28,18 @@ this repository contains the full copyright notices and license terms. -->
<field name="lines" colspan="6"
view_ids="account_invoice.invoice_line_view_tree_sequence"/>
<group col="2" colspan="6" id="taxes_amount_state_buttons">
<group col="1" colspan="1" id="taxes">
<field name="taxes"
view_ids="account_invoice.invoice_tax_view_tree_sequence"/>
</group>
<group col="4" colspan="1" id="amount_state_buttons">
<group col="2" colspan="2" id="reconciled_state">
<field name="taxes"
view_ids="account_invoice.invoice_tax_view_tree_sequence"/>
<group col="4" colspan="1" id="amount_state_buttons"
yalign="1" yfill="1">
<group col="2" colspan="2" id="reconciled_state"
yalign="1" yfill="1">
<label name="reconciled"/>
<field name="reconciled" xexpand="0"/>
<label name="state"/>
<field name="state"/>
</group>
<group col="2" colspan="2" id="amount">
<group col="2" colspan="2" id="amount" 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"/>
+5 -5
View File
@@ -4,19 +4,19 @@ this repository contains the full copyright notices and license terms. -->
<form string="Invoice Line" cursor="product">
<label name="invoice"/>
<field name="invoice" 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"/>
<label name="account"/>
<field name="account"/>
<newline/>
<label name="description"/>
<field name="description" colspan="3"
<field name="description" colspan="3" yexpand="0"
spell="If(Bool(Eval('_parent_invoice')), Get(Eval('_parent_invoice', {}), 'party_lang'), Eval('party_lang'))"/>
<label name="quantity"/>
<field name="quantity"/>