c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08186
[Bug 690583] [NEW] stock.picking.test_finished: write() takes at most 6 arguments (8 given)
Public bug reported:
While looking at stock/stock.py: stock_picking.test_finished I noticed
the move.write(cr, uid, [move.id], {'state': 'done'}) would cause a
"TypeError: write() takes at most 6 arguments (8 given)" exception if
executed. As stock_picking.test_finished is usually only executed after
stock_picking.action_move by the workflow, which sets the moves to done,
this line of code is not usually executed.
move.write({'state': 'done'}) would appear to be the correct line to
use. This is looking at current trunk, revision 4011.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690583
Title:
stock.picking.test_finished: write() takes at most 6 arguments (8 given)
Status in OpenObject Addons Modules:
New
Bug description:
While looking at stock/stock.py: stock_picking.test_finished I noticed the move.write(cr, uid, [move.id], {'state': 'done'}) would cause a "TypeError: write() takes at most 6 arguments (8 given)" exception if executed. As stock_picking.test_finished is usually only executed after stock_picking.action_move by the workflow, which sets the moves to done, this line of code is not usually executed.
move.write({'state': 'done'}) would appear to be the correct line to use. This is looking at current trunk, revision 4011.
Follow ups
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: ksa(OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: Launchpad Bug Tracker, 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: ksa(OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: Olivier Dony (OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: ksa(OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: RME(OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: RME(OpenERP), 2010-12-17
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: Tristan Hill (credativ), 2010-12-16
-
[Bug 690583] Re: stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: Jas(OpenERP), 2010-12-16
-
[Bug 690583] [NEW] stock.picking.test_finished: write() takes at most 6 arguments (8 given)
From: Tristan Hill (credativ), 2010-12-15
References