← Back to team overview

openerp-india team mailing list archive

[Bug 733156] Re: Cannot post consume on production order

 

Hello Bogdan,

1). The issue of same raw material on 2 lines of BOM is fixed in following branch:
Branch: lp:~openerp-dev/openobject-addons/6.0-opw-516475-ado with
Revision-id: ado@xxxxxxxxxxx-20120302115132-f1madabd2y6rp0nv and
Revision-no: 5103

2). For the issue consumption lines are different from products to consume and for production lot issue all works fine as per the expectations at our end. 
For better clarification we have uploaded a video here : http://blip.tv/openerp-support/consuming-the-product-in-manufacturing-order-case-516475-5996792


Regards,
Amit

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  Cannot post consume on production order

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Using v6, I defined a BOM wich has same raw material on 2 lines - because the raw material is added in 2 steps of production process.
  eg. in demo database - change CPU_GEN BOM, raw material CPU1 exists with qty=1 then add new line (after other raw materials) CPU1 with qty=2. Make Production order CPU_GEN qty=3
  When posting consumption with regular user (even new admin user - not uid 1 admin) the following message shows:
  Quantities, UoMs, Products and Locations cannot be modified on stock moves that have already been processed (except by the Administrator). If I take each line of raw material and post, the consume is made without problems.
  When posting with admin (uid=1) the consume is posted. This is because is a uid = 1 verification when changing stock moves.
  I noticed that consumption lines are different from  products to consume :to consume -  2 lines with qty=3 and 6, consumed  -  3 lines each with qty=3.

  There are 2 issues:
  - cannot post consumption in the above situation
  - split of consumption lines

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/733156/+subscriptions