[FIX] account_voucher : TypeError: onchange_date() takes at most 8 arguments (10 given)

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

bzr revid: mdi@tinyerp.com-20111025055432-adv4jirt7295z1hh
This commit is contained in:
Divyesh Makwana (Open ERP) 2011-10-25 11:24:32 +05:30
parent 68adb9de7e
commit c498c9fdb0
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<form string="Accounting Voucher">
<group col="6" colspan="4">
<field name="partner_id" required="1" on_change="onchange_journal_voucher(line_ids, tax_id, amount, partner_id, journal_id, type)"/>
<field name="date" on_change="onchange_date(partner_id, journal_id, amount, currency_id, type, date)"/>
<field name="date" on_change="onchange_date(date, currency_id, amount)"/>
<field name="journal_id" widget="selection" select="1" on_change="onchange_journal_voucher(line_ids, tax_id, amount, partner_id, journal_id, type)"/>
<field name="type" required="1"/>
<field name="name" colspan="2"/>