← Back to team overview

credativ team mailing list archive

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

 

** Tags added: maintenance

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/733156

Title:
  Cannot post consume on production order

Status in OpenERP Addons (modules):
  Confirmed

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