summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorsvs-odoo <svs@odoo.com>2019-09-24 09:17:17 +0000
committersvs-odoo <svs@odoo.com>2019-09-27 11:34:54 +0000
commita3281058b080478451611b0c377fea243faf4cd8 (patch)
tree0ae8cdc296e34e28f02b413fc3797b4493c4f99e /addons/web/static/src/js/views/basic/basic_model.js
parente7bbe5dc0ee7e6d227225a4e4b6a54a6544991b1 (diff)
[FIX] models: check_company on res.users field
Before this commit, when a record of a model who has a `res.users` field it could fail the `check_company` because the check looks for `company_id` who is the default company of the user. In the case of `res.users`, `check_company` must look after the `company_ids` of the user.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions