[IMP] Change documentation + new action_consume/qty/origin corrections
authorJosse Colpaert <jco@odoo.com>
Mon, 22 Sep 2014 20:17:15 +0000 (22:17 +0200)
committerJosse Colpaert <jco@odoo.com>
Tue, 30 Sep 2014 08:31:33 +0000 (10:31 +0200)
commit3dcb020373b53f894217add5a819ce762e8221c1
tree947526b3464a53d51bc13787971d1a86cbabefe8
parent817e459d43156848fe16fc0a49465c2f18f3d453
[IMP] Change documentation + new action_consume/qty/origin corrections

Simplify the action_consume of the consumption lines after the corrections
by Kevin Wang.  Also the UoMs are revised as the action_consume uses the default UoM
of the product.

We have to avoid circular boms where a child bom should not contain the product that
represents the parent bom, but it is possible for example to use another product of the parent bom in
the child bom.

As the consume line move has no procurement rule, its origin will have no description.  So, when there is
none it will also check the description of the previous move (when passed to procurement for example) This way
the chained moves or purchase order for example will have the MO-number as origin and not nothing.

[IMP] Change assignation

[IMP] UoM changes continuation

[IMP] Make sure we can use 2 times the same product in a BoM

[IMP] Source document for consume lines to procurement
addons/mrp/mrp.py
addons/mrp/mrp_view.xml
addons/mrp/stock.py
addons/mrp/wizard/stock_move.py
addons/stock/doc/stock.rst
addons/stock/procurement.py
addons/stock/stock.py