openobject-italia-core-devs team mailing list archive
-
openobject-italia-core-devs team
-
Mailing list archive
-
Message #01457
[Bug 1202117] Re: account_invoice_entry_date: method action_move_create: incorrect signature
** Branch linked: lp:~lpistone/openobject-italia/7.0-fix-
account_invoice_entry_date_signature
** Branch linked: lp:~lpistone/openobject-italia/6.1-fix-
account_invoice_entry_date_signature
--
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1202117
Title:
account_invoice_entry_date: method action_move_create: incorrect
signature
Status in OpenERP Italia:
New
Bug description:
The action_move_create method has the following incorrect signature:
def action_move_create(self, cr, uid, ids, *args):
There are no keyword arguments. The effect is that if you try to pass
a context to it, you get:
TypeError: action_move_create() got an unexpected keyword argument
'context'"
The original signature from addons/7.0/account/account_invoice.py is:
def action_move_create(self, cr, uid, ids, context=None):
Same signature on v6.1.
We should use that one in account_invoice_entry_date as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/1202117/+subscriptions
References