[MERGE] account_voucher: fixed bug 911159: added missing arguments to onchange_journal call in onchange_journal_voucher method
bzr revid: tde@openerp.com-20120104092100-sh6k7y8eji7pc20t
This commit is contained in:
@@ -448,7 +448,7 @@ class account_voucher(osv.osv):
|
||||
default['value']['account_id'] = account_id
|
||||
default['value']['type'] = ttype or tr_type
|
||||
|
||||
vals = self.onchange_journal(cr, uid, ids, journal_id, line_ids, tax_id, partner_id, company_id, context)
|
||||
vals = self.onchange_journal(cr, uid, ids, journal_id, line_ids, tax_id, partner_id, time.strftime('%Y-%m-%d'), price, ttype, company_id, context)
|
||||
default['value'].update(vals.get('value'))
|
||||
|
||||
return default
|
||||
|
||||
Reference in New Issue
Block a user