[FIX] account_voucher:- is_multi_currency field add in view and set invisible=1 for atts.

lp bug: https://launchpad.net/bugs/903740 fixed

bzr revid: ysa@tinyerp.com-20111214091207-1sje5q3st51cbxfr
This commit is contained in:
Yogesh (OpenERP) 2011-12-14 14:42:07 +05:30
parent 3ad3baefba
commit 4666042e5c
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@
<group col="2" colspan="1">
<group col="4" colspan="1" attrs="{'invisible':[('currency_id','=',False),('is_multi_currency','=',False)]}">
<separator string="Currency Options" colspan="4"/>
<field name="is_multi_currency" invisible="1"/>
<field name="payment_rate" required="1" on_change="onchange_rate(payment_rate, amount, currency_id, payment_rate_currency_id, company_id, context)" groups='base.group_extended' colspan="3"/>
<field name="payment_rate_currency_id" groups='base.group_extended' colspan="1" nolabel="1" on_change="onchange_payment_rate_currency(currency_id, payment_rate, payment_rate_currency_id, date, amount, company_id, context)"/>
<field name="paid_amount_in_company_currency" groups='base.group_extended' colspan="4" invisible="1"/>