summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorPrakash Prajapati <ppr@odoo.com>2019-07-30 11:26:58 +0000
committerYannick Tivisse <yti@odoo.com>2019-08-16 11:17:28 +0000
commitc058562d7301298fd71b2618b5386611dfeb81cb (patch)
tree33e415704316c3da0ec08b4dd3168bdec9bca8d6 /doc/reference/javascript_reference.rst
parent25714692b23624d04a43862db26ebcf802b89399 (diff)
[IMP] various: Add multi company domains on views
When the many2xxx field relates to a model where company_id is required, set this domain [('company_id','=',company_id.id)] When the company_id field of the related model is not required, set this domain ['|',('company_id','=',company_id.id),('company_id','=',False)] When setting the domain on a field which is in the treeview of a xxx2many field evaluate against the company_id of the 'parent'. Some constraints have been added on sereval models. Take a look at the complete specification for more details. TaskID: 2024446 Closes: #35266 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions