diff options
| author | Goffin Simon <sig@odoo.com> | 2018-11-07 08:12:38 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-11-07 08:12:38 +0000 |
| commit | 47959438b6c106e6c9f2f8d849439edf370f390c (patch) | |
| tree | 36c04bc167e8936294f1e865fbc407af7220aae2 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 60d519b89043f1116ff6686ec4752593c7a49e1f (diff) | |
[FIX] sale_stock: Impossible to ship a kit with different uoms
Steps to reproduce the bug:
- Let's consider three products P1(in Unit), P2(in kg), P3(in Unit)
- Create a BOM kit for P1 whit 1kg of P2 and 1 Unit of P3 as components
- Create a SO with P1 and validate it
- Go to the shipment and validate
Bug:
An error was raised saying:
The unit of measure kg defined on the order line doesn't belong to the same
category than the unit of measure Unit defined on the product. Please
correct the unit of measure defined on the order line or on the product,
they should belong to the same category.
PS: The quantity delivered on a SO line must only be computed for the product
defined on the SO line. Otherwise with a BOM kit, the sum of all its components
was done instead.
opw:1905223
closes odoo/odoo#28460
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
