[IMP] Improved sale order form view subtotal look

bzr revid: fme@openerp.com-20120516164725-kcw2e2x0asjlmfha
This commit is contained in:
Fabien Meghazi 2012-05-16 18:47:25 +02:00
parent 853bac03ce
commit 38e2fd55ba
2 changed files with 12 additions and 6 deletions

View File

@ -206,12 +206,16 @@
</tree>
</field>
<div class="oe_right">
<group col="2">
<div class="oe_form_subtotal_footer" colspan="4">
<div>
<field name="amount_untaxed" sum="Untaxed amount"/>
</div>
<div>
<field name="amount_tax"/>
</div>
<div class="oe_form_subtotal_footer_separator">
<field name="amount_total"/>
</group>
</div>
</div>
<div class="oe_clear"/>

View File

@ -8,9 +8,11 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<field name="amount_total" position="after">
<field name="margin"/>
</field>
<xpath expr="//div[@class='oe_form_subtotal_footer_separator']" position="after">
<div>
<field name="margin"/>
</div>
</xpath>
</field>
</record>