c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11347
[Bug 498033] Re: production orders waiting raw materials can not be cancelled
Hello,
It has been fixed in lp:~openerp-commiter/openobject-addons/dev-
addons2-rha1
Revision ID: rha@xxxxxxxxxxx-20110107091158-1qrugqztsw5ulktr
Revision no: 4480
Thanks,
rha
** Changed in: openobject-addons/trunk
Status: In Progress => Fix Committed
--
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:
Fix Committed
Status in OpenObject Addons 5.0 series:
Confirmed
Status in OpenObject Addons trunk series:
Fix Committed
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