Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[MERGE] base,* : remove force_company context key mechanism #36804
If a computed field depends on the current company and/or restricted company, add
Replace force_company and custom company* context keys by with_company uses.
Use correct company to get fiscal positions and properties Ensure company used to fetch fiscal positions is always the correct one when coming from a company restricted model (company_id required, or related.required). NB: if the company_id isn't defined, with_company doesn't change the environment. purchase: get_fiscal_position doesn't consider company_id ctxt key others: properties were accessed with potentially the wrong company.