← Back to team overview

openerp-india team mailing list archive

[Bug 997642] [NEW] [6.1] Services with "Make to stock" procure_method stay in "Running" state

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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:
  [6.1] Services with "Make to stock" procure_method stay in "Running"
  state

Status in OpenERP Addons (modules):
  New

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


Follow ups

References