In recent versions of odoo we have the company_dependent attribute instead of the property definitions....
It seems not to work in One2Many and Many2Many fields.
I see no use of the company_dependent attribute in those kind of fields when I search into the code:
http://bit.ly/1oI7WpB
My question is:
Is that supposed to work ? Or should the code raise an Exception in those cases?
Which alternatives do we have ? Implement that by hand with domains ?
Maybe the ORM could check if the related entity has a company_id field and add the restriction to the domain automatically, also it could add the company_id field to the related model or comodel.