multi-company
multi-company copied to clipboard
[16.0][MIG] product_supplierinfo_intercompany
https://github.com/OCA/multi-company/pull/608
Having 2 important fixes as additional commits such that they can be ported to other versions
- Creating a product and generating its supplierinfo is working now (def create)
- the pricelist from a company uses the prices from its own company (no data leak for another company) and dynamic costs and list price update on the fly is now supported (no need to re-sync the list with scheduled action)
Ideally in the future we could have something like this to ensure we are not missing any changes in the pricelist
https://github.com/OCA/product-attribute/blob/0220b57a2393214b8f0f579931ade2ad5c24646c/product_list_price_from_pricelist/models/product_pricelist.py#L77
https://github.com/OCA/multi-company/pull/714
this was also fixed here