summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-01-04 10:21:00 +0100
committerThibault Delavallée <tde@openerp.com>2012-01-04 10:21:00 +0100
commitbe5cdc5c8f2bdd2c8f5c431532f77c59df1c29b8 (patch)
tree8400b366fd92a2f52f1c8ac5f597eff29f55837a
parentc6a2601c0c02e9ece8ae03ebc559f87c9220f0d1 (diff)
parentbabb4c887c07e95107e6e3280ab81a27e30a21cc (diff)
[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
-rw-r--r--addons/account_voucher/account_voucher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py
index 52eb779bfb1..1f8c86161c1 100644
--- a/addons/account_voucher/account_voucher.py
+++ b/addons/account_voucher/account_voucher.py
@@ -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