← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 498033] Re: production orders waiting raw materials can not be cancelled

 

** Also affects: openobject-addons/5.0
   Importance: Undecided
       Status: New

** Also affects: openobject-addons/trunk
   Importance: Undecided
     Assignee: JMA(Open ERP) (jma-openerp)
       Status: Incomplete

** Changed in: openobject-addons/trunk
   Importance: Undecided => Medium

** Changed in: openobject-addons/trunk
       Status: Incomplete => Confirmed

** Changed in: openobject-addons/trunk
     Assignee: JMA(Open ERP) (jma-openerp) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

** Changed in: openobject-addons/5.0
   Importance: Undecided => Medium

** Changed in: openobject-addons/5.0
       Status: New => Confirmed

** Changed in: openobject-addons/5.0
     Assignee: (unassigned) => Jay (OpenERP) (jvo-openerp)

-- 
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/498033

Title:
  production orders waiting raw materials can not be cancelled

Status in OpenObject Addons Modules:
  Confirmed
Status in OpenObject Addons 5.0 series:
  Confirmed
Status in OpenObject Addons trunk series:
  Confirmed

Bug description:
  I have taken the following issue from forum: http://openobject.com/forum/topic13658.html where effiejayx says: -----------------------
I created a producttion order and I cannot delet it. it is in confirmed state waiting for resources and I cannot delete it. I have been able to delete the purchace orders for the resources.
In the production order's details I can see movements but I cannot delete any of those movements because only "draft" moves can be deleted, which leaves me to believe that those are confirmed as well.
-----------------------

I just tested the case and I can reproduce it. Production orders can be cancelled on whatever intermediate status they are, except when they are waiting for goods. It doesn't seem to be correct having the possibility of cancelling the order once raw material for production are received, and not before. 

I think cancelling an order on this status should cancel or even delete the related planified stock moves and production order related purchase or procurement orders and even "child" productions orders. So this means, cancelling on cascade all related objects.

Additionaly: If you cancel a production order just started, the related movements from stock to production are cancelled wich is correct but if materials come from a child location, raw materials stay on parent stock location. I think they should come back to their original location, where they come from. 

Best regards:

Ana