[16.0] Error in Domain Regardless of company_ids Field State
Body:
Description: While conducting tests for issue #459, I discovered a bug in a specific domain. The issue arises regardless of the state of the company_ids field - whether it is filled or left empty.
Steps to Reproduce:
Access the domain where the issue #459 is relevant. Just try to create one product
Actual Behavior: An error occurs in this domain, irrespective of the company_ids field being populated or not.
Proposed Solution: I suggest modifying the existing condition to handle both scenarios effectively. The proposed code change is as follows:
['|', ('company_ids', 'in', company_ids), ('company_ids', '=', False)]
This modification ensures that the condition correctly accounts for scenarios where company_ids are either specified or not.
Additional Comments:
I hope this is not an oversight on my part, and I appreciate any input or verification on this issue.