odoo/odoo#162152

Created by Accounting, Wala Gauthier (gawa)
label
odoo-dev:17.0-analytic-applicabilities_companies-gawa
head
6221341d6950ef88d9874e15e54ec133641c7b2b
target
17.0
merged
3 weeks ago by Accounting, Olivier Colson (oco)
forward-ports

[FIX] analytic: plan's applicability don't work without companies

If you create an applicability and remove the company field, they are never used.
An applicability like this should be valid for all companies.
We put a 0.5 value for the company field so an applicability so it has a lesser priority than other fields.
Same idea as the distribution models.

opw-3847415




---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr