openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09125
[Bug 956234] Re: Code error: schedulers.py order kwarg in read method
Hello Guewen,
Thanks for your reply.
I strongly agree with you that, We can not pass a _order as **kwargs on
read method (I have also checked the server's read method at, We didn't
pass the _order params at there btw we can pass this params on search
method ).
So as a coding problem I am confirming this issue.
I didn't reproduce it but If scheduler.py 's line#270 executed then described comment#1 's error will be generated.
btw Guewen nice catch ;-).
Thank you!
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: Incomplete => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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/956234
Title:
Code error: schedulers.py order kwarg in read method
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Hello,
At line 270 of schedulers.py in procurement addons:
http://bazaar.launchpad.net/~openerp/openobject-addons/6.1/view/head:/procurement/schedulers.py#270
you'll see that the read method is called with an extra keyword
argument "order" which is not in the read signature.
This stops the schedulers and it also seems that the cursor doesn't
close properly when this happens.
Thanks
best regards
Guewen
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/956234/+subscriptions
References