** Patch added: "procurement.diff"
https://bugs.launchpad.net/openobject-addons/+bug/798890/+attachment/2177995/+files/procurement.diff
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => 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 C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/798890
Title:
[trunk][procurement] MRP Scheduler 'looping' on confirmed procurement
past scheduled date
Status in OpenERP Modules (addons):
Confirmed
Bug description:
I'm not quite certain how the procurement got to this state to begin with,
but there seems to be an issue which will cause the scheduler to loop under the
following conditions:
1. The Procurement Order scheduled date is in the past
2. The state is confirmed
3. The move is not cancelled (it can be done or confirmed)
I realize that it shouldn't be in that state - however, the scheduler should
handle it a tad more gracefully. Right now it continually loops on the record
and the job runs continually. The offending while statement is in the
schedulers.py procure_confirm() - you can see that it will never return from
the loop under this scenario as it will always be true and will always return
ids.
I would suggest changing the while to a for loop and just process all the
ids, unless there's something I'm missing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/798890/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp