summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-10 12:49:52 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-10 12:49:52 +0200
commite2d3d617a96e416751c15e42d3fbebedfdc7e00c (patch)
tree54594499f70fc591d6217fbd8565ac160f32fca5
parent19c1422f5edd5b8e815f86cfc7eab327513f5e2e (diff)
[IMP] account: added monetary widget on invoices form view
bzr revid: qdp-launchpad@openerp.com-20121010104952-jxy17zagby2jp0w2
-rw-r--r--addons/account/account_invoice_view.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index 8421409d4ce..8516fcd96ae 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -211,17 +211,17 @@
</tree>
</field>
<group class="oe_subtotal_footer oe_right">
- <field name="amount_untaxed"/>
+ <field name="amount_untaxed" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<div>
<label for="amount_tax"/>
<button name="button_reset_taxes" states="draft,proforma2"
string="(update)" class="oe_link oe_edit_only"
type="object" help="Recompute taxes and total"/>
</div>
- <field name="amount_tax" nolabel="1"/>
- <field name="amount_total" class="oe_subtotal_footer_separator"/>
+ <field name="amount_tax" nolabel="1" widget="monetary" options="{'currency_field': 'currency_id'}"/>
+ <field name="amount_total" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
- <field name="residual"/>
+ <field name="residual" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<field name="reconciled" invisible="1"/>
</group>
<div style="width: 50%%">
@@ -368,16 +368,16 @@
</tree>
</field>
<group class="oe_subtotal_footer oe_right">
- <field name="amount_untaxed"/>
+ <field name="amount_untaxed" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<div>
<label for="amount_tax"/>
<button name="button_reset_taxes" states="draft,proforma2"
string="(update)" class="oe_link oe_edit_only"
type="object" help="Recompute taxes and total"/>
</div>
- <field name="amount_tax" nolabel="1"/>
- <field name="amount_total" class="oe_subtotal_footer_separator"/>
- <field name="residual" groups="account.group_account_user"/>
+ <field name="amount_tax" nolabel="1" widget="monetary" options="{'currency_field': 'currency_id'}"/>
+ <field name="amount_total" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
+ <field name="residual" groups="account.group_account_user" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<field name="reconciled" invisible="1"/>
</group>
<group>