← Back to team overview

openerp-india team mailing list archive

[Bug 997642] Re: [Trunk/6.1] Services with "Make to stock" procure_method stay in "Running" state

 

This patch should also be included on 6.1.
Services to_stock should not create any procurement, having installed project_mrp or not.
I think this bug is duplicated or related with: https://bugs.launchpad.net/openobject-addons/+bug/1087709

-- 
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 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/openobject-addons/+bug/997642/+subscriptions


References