← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691012] Re: [trunk][mrp] bugfix on consuming materials introduced two new bugs

 

** Branch linked: lp:~openerp-dev/openobject-addons/ron-dev-addons2

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

Title:
  [trunk][mrp] bugfix on consuming materials introduced two new bugs

Status in OpenObject Addons Modules:
  Fix Committed

Bug description:
  I've committed the bugreport #669210 which was fixed a month ago.

I've just checked this functionality recently since it has been fixed. I found that this patch solved the reported problem but introduced two new ones.

The new problems are as follows (in the Manufacturing Order form):

1. After consuming the raw materials they appear in the right side list doubled. (Every item is displayed twice in Consumed Products). Initially the duplicated lines show only a quantity of 0 but after double clicking on any line the duplicates will be shown. 

2. A new LOT is generated for each consumed raw material after invoking consume. So the system wants to consume materials from such LOTs where there is 0 quantity in stock. These new LOTs will have a negative stock quantity and these LOTs are used for nothing. At the same time stock quantities in the work center locations keep increasing because the user sets the right LOTs on the Internal Moves lines but the system doesn't consume raw materials from these LOTs. 

The mechanism mentioned in the second problem should be changed so that Production LOT should not be generated for the Consumed Products but should the LOT numbers copied from the Internal Move lines (Picking List) beforehand. This way the system would work as intended. 

I've attached a screenshot to illustrate the first problem.





References