Ensure proper domains are applied and enforced on relation fields thanks to the `check_company` attributes. product.template - make responsible a property field in order to ensure proper next activities when a product is used between multiple companies stock.putaway.rule - added a company_id field stock.move.line - company_id is not related anymore since a move line can exist without a move until its validation stock.package_level - added a company_id field stock.picking.type - company_id is now required stock.production.lot - added a company_id field, adapted the constraint accordingly stock.quant - check the consistency only in inventory mode stock.quant.package - company_id is now empty if the package is empty stock.picking - company_id is now related to the one of its picking type Added some tests. Moved stock_traceability in the `report` directory. Removed useless /tests/tours/route.js. task-1985992
21 lines
579 B
Python
21 lines
579 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import barcode
|
|
from . import product_strategy
|
|
from . import res_company
|
|
from . import res_partner
|
|
from . import res_config_settings
|
|
from . import stock_inventory
|
|
from . import stock_location
|
|
from . import stock_move
|
|
from . import stock_move_line
|
|
from . import stock_production_lot
|
|
from . import stock_picking
|
|
from . import stock_quant
|
|
from . import stock_rule
|
|
from . import stock_warehouse
|
|
from . import stock_scrap
|
|
from . import product
|
|
from . import stock_package_level
|