The goal is to allow more flexibility with multi-company by removing the hard dependency in the code to the record rule which should stay only for access right configuration.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Linked items
0
Link issues together to show that they're related.
Learn more.
The configuration singleton is fixed in last patch set but there is still one issue with the context of some instances.
For example, the product on sale line required to have the right company in the context for tax_used and account_used.
I uploaded review48351002 which removes the access rule and company domains.
I will open separate issues for solving other things needed to make multi-company work without record rules (i.e: product_sale_price and product_purchase_price).
I think it is not possible to have writen such patch in one hour.
I can see it is missing all the work that removes the dependency on browsing context. We need test that ensure user from one company can make sale, purchase, shipment and invoice workflow for document from another company.
Also it can not work without #6760 (closed).