[FIX] account_voucher: fixed view that have an onchange function returning a field which is not in the view

bzr revid: qdp-launchpad@openerp.com-20121004164834-bjs76n10wt3k5c1w
This commit is contained in:
Quentin (OpenERP) 2012-10-04 18:48:34 +02:00
parent 627ddd3ddd
commit f7ead41764
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@
<field name="date" on_change="onchange_date(date, currency_id, currency_id, amount, company_id, context)"/>
<field name="name"/>
<field name="paid" invisible="1"/>
<field name="paid_amount_in_company_currency" invisible="1"/>
<field name="currency_id" invisible="1"/>
</group>
<field name="type" invisible="True"/>
@ -235,6 +236,7 @@
widget="selection"
on_change="onchange_journal(journal_id, line_dr_ids, tax_id, partner_id, date, amount, type, company_id, context)"
groups="account.group_account_user"/>
<field name="paid_amount_in_company_currency" invisible="1"/>
</group>
</group>
<notebook>