Steps to reproduce: - Create a storable kit product - Update on hand quantity: only the components are displayed(correct behavior) - In Inventory tab open Inventory Adjustement - Possible to edit kit quantity Bug: In the product tab when trying to update qty the kit product is replaced with its components instead but it is still Possible to edit kit quantity directly in the inventory app Fix: introduced python constraint to prevent user from directly editing the kit product qty in master in standard just display a warning opw-3681703 closes odoo/odoo#160978 X-original-commit: ba81d4ef64933dc025c7a473456c5c056ed69aac Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Walid Hanniche (waha) <waha@odoo.com>
23 lines
617 B
Python
23 lines
617 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import mrp_document
|
|
from . import res_config_settings
|
|
from . import mrp_bom
|
|
from . import mrp_routing
|
|
from . import mrp_workcenter
|
|
from . import mrp_production
|
|
from . import stock_traceability
|
|
from . import mrp_unbuild
|
|
from . import mrp_workorder
|
|
from . import product
|
|
from . import res_company
|
|
from . import stock_move
|
|
from . import stock_orderpoint
|
|
from . import stock_picking
|
|
from . import stock_lot
|
|
from . import stock_rule
|
|
from . import stock_scrap
|
|
from . import stock_warehouse
|
|
from . import stock_quant
|