account_voucher : onchange_journal() takes at least 12 arguments (10 given).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
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/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
vals = self.onchange_
TypeError: onchange_journal() takes at least 12 arguments (10 given)
Related branches
- Thibault Delavallée (OpenERP) (community): Approve
-
Diff: 32 lines (+5/-3)1 file modifiedaccount_voucher/account_voucher.py (+5/-3)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
The solution for this bug is proposed in the branch : https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 911159- mdi/
with following Revision ID and Number.
Revision ID : <email address hidden>
Revision Number : 6240
Thanks and Regards,
Divyesh Makwana(MDI)