openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #04337
[Bug 911159] [NEW] account_voucher : onchange_journal() takes at least 12 arguments (10 given).
Public bug reported:
Install account_voucher
Go to Accounting -> Journal Entries -> Journal Voucher.
Select the journal other than "Miscellaneous Journal (EUR)" and then
select the "Partner".
It will gives the traceback :
Traceback (most recent call last):
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/mdi/openerp/openerp_trunk/openobject-addons/account_voucher/account_voucher.py", line 451, in onchange_journal_voucher
vals = self.onchange_journal(cr, uid, ids, journal_id, line_ids, tax_id, partner_id, company_id, context)
TypeError: onchange_journal() takes at least 12 arguments (10 given)
** Affects: openobject-addons
Importance: Medium
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Status: Confirmed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/911159
Title:
account_voucher : onchange_journal() takes at least 12 arguments (10
given).
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Install account_voucher
Go to Accounting -> Journal Entries -> Journal Voucher.
Select the journal other than "Miscellaneous Journal (EUR)" and then
select the "Partner".
It will gives the traceback :
Traceback (most recent call last):
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/mdi/openerp/openerp_trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/mdi/openerp/openerp_trunk/openobject-addons/account_voucher/account_voucher.py", line 451, in onchange_journal_voucher
vals = self.onchange_journal(cr, uid, ids, journal_id, line_ids, tax_id, partner_id, company_id, context)
TypeError: onchange_journal() takes at least 12 arguments (10 given)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/911159/+subscriptions
Follow ups
References