bom_stock: wrong computed stock if BOM uses UOM which are different from product UOM
Bug #1279383 reported by
Alexandre Fayolle - camptocamp
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Product - Kitting Management | Status tracked in 7.0 | |||||
6.1 |
Fix Released
|
High
|
Alexandre Fayolle - camptocamp | |||
7.0 |
Fix Released
|
High
|
Alexandre Fayolle - camptocamp |
Bug Description
the manual conversions in the code are wrong, should use product.uom methods.
Related branches
lp://staging/~camptocamp/product-kitting/7.0-fix_bom_stock-afe
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
- Romain Deheele - Camptocamp (community): Approve (code review)
- Guewen Baconnier @ Camptocamp: Approve (code review)
-
Diff: 282 lines (+108/-51)5 files modifiedbom_stock/__init__.py (+1/-1)
bom_stock/__openerp__.py (+14/-6)
bom_stock/bom_stock.py (+36/-39)
bom_stock/bom_stock_view.xml (+3/-5)
bom_stock/tests/test_bom_stock.yml (+54/-0)
lp://staging/~camptocamp/product-kitting/6.1-backport_bom_stock_fixes-afe
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
- Guewen Baconnier @ Camptocamp: Approve (code review)
-
Diff: 113 lines (+30/-18)3 files modifiedbom_stock/__openerp__.py (+12/-3)
bom_stock/bom_stock.py (+15/-12)
bom_stock/bom_stock_view.xml (+3/-3)
Changed in product-kitting: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) |
Changed in product-kitting: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.