Purpose of the commit is to make the multi company consistence with product, sale order and order template. So the Common Product Catalog setting is removed from generel settings because its behavior wasn't really clean from a technical point of view (disabling the rule on products access) and wouldn't work as well with new multi-company logic. The default logic of sharing products will be kept, but when someone wants to limit products sharing, he will do so product by product, by setting the company_id. Also the default company_id on product will be blank so default product will be a sharable by multi company. and added company_id on sale templates so user can select his/her own company or the templates which are common. task-2025168 Closes: #34342
12 lines
322 B
Python
12 lines
322 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import delivery_carrier
|
|
from . import delivery_grid
|
|
from . import product_packaging
|
|
from . import product_template
|
|
from . import sale_order
|
|
from . import partner
|
|
from . import stock_picking
|
|
from . import stock_move
|