openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #25293
[Bug 997642] Re: [Trunk/6.1] Services with "Make to stock" procure_method stay in "Running" state
** Also affects: ocb-addons
Importance: Undecided
Status: New
** Also affects: ocb-addons/6.1
Importance: Undecided
Status: New
** Changed in: ocb-addons/6.1
Status: New => Confirmed
** Changed in: ocb-addons/6.1
Importance: Undecided => Medium
--
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/997642
Title:
[Trunk/6.1] Services with "Make to stock" procure_method stay in
"Running" state
Status in OpenERP Community Backports (Addons):
New
Status in OpenERP Community Backports (Addons) 6.1 series:
Confirmed
Status in OpenERP Addons (modules):
Fix Released
Bug description:
If you install module [projet_mrp] you will see that all services with
the "Make to stock" procure_method stay in "Running" state.
That's a bug in project_procurement.py:
- in action_check_finished, the result in combined from the super one and the new one defined in check_task_done of [projet_mrp]
- in check_task_done, all services are parsed with the task check condition, that MUST NOT be the case for services with the "Make to stock" procure method that will always return FALSE.
This is fixed in the patch attached.
Note that a message ('from project: task created.') is also set when the task is created to help user to understand why it stay in a running state.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/997642/+subscriptions
References