-
- Downloads
[REF] stock: multi company
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
Showing
- addons/stock/data/stock_demo.xml 2 additions, 0 deletionsaddons/stock/data/stock_demo.xml
- addons/stock/data/stock_demo2.xml 3 additions, 8 deletionsaddons/stock/data/stock_demo2.xml
- addons/stock/models/__init__.py 0 additions, 1 deletionaddons/stock/models/__init__.py
- addons/stock/models/product.py 6 additions, 3 deletionsaddons/stock/models/product.py
- addons/stock/models/product_strategy.py 24 additions, 5 deletionsaddons/stock/models/product_strategy.py
- addons/stock/models/res_company.py 11 additions, 1 deletionaddons/stock/models/res_company.py
- addons/stock/models/res_partner.py 6 additions, 3 deletionsaddons/stock/models/res_partner.py
- addons/stock/models/stock_inventory.py 37 additions, 42 deletionsaddons/stock/models/stock_inventory.py
- addons/stock/models/stock_location.py 13 additions, 5 deletionsaddons/stock/models/stock_location.py
- addons/stock/models/stock_move.py 23 additions, 14 deletionsaddons/stock/models/stock_move.py
- addons/stock/models/stock_move_line.py 27 additions, 12 deletionsaddons/stock/models/stock_move_line.py
- addons/stock/models/stock_package_level.py 11 additions, 5 deletionsaddons/stock/models/stock_package_level.py
- addons/stock/models/stock_picking.py 63 additions, 49 deletionsaddons/stock/models/stock_picking.py
- addons/stock/models/stock_production_lot.py 11 additions, 4 deletionsaddons/stock/models/stock_production_lot.py
- addons/stock/models/stock_quant.py 17 additions, 12 deletionsaddons/stock/models/stock_quant.py
- addons/stock/models/stock_rule.py 26 additions, 6 deletionsaddons/stock/models/stock_rule.py
- addons/stock/models/stock_scrap.py 30 additions, 15 deletionsaddons/stock/models/stock_scrap.py
- addons/stock/models/stock_warehouse.py 59 additions, 23 deletionsaddons/stock/models/stock_warehouse.py
- addons/stock/report/__init__.py 1 addition, 0 deletionsaddons/stock/report/__init__.py
- addons/stock/report/stock_traceability.py 0 additions, 0 deletionsaddons/stock/report/stock_traceability.py
Loading
Please register or sign in to comment