summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_api.rst
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2019-10-01 12:58:03 +0000
committerArnold Moyaux <arm@odoo.com>2019-10-01 13:42:50 +0000
commitd86c2c588367dee319649ab2a5890975c1bcb916 (patch)
treefc84c1f7e068dc5ffd7c5a900a959c229c3f11e4 /doc/reference/javascript_api.rst
parentda2b24714616bfbaf3ed7834844618207ec6ca2c (diff)
[FIX] base: res_users in multi company
Usecase to reproduce: - User1 in company A and company B (default company A) - User2 in company A and company B (default company A) As user1 select company B in company switcher. -> You never see user2 as he's hidden by a record rule. This issue was present in older version when disabling the “Common Contact Book” feature, because it was then enabling the faulty record rule. Since [1], this faulty record rule is always enabled. (Note that res.partner record rules are applied to res.user through _inherits) We chose to remove the faulty record rules so that the present usecase is now working, but the drawback is that you now see partners from other companies. Also remove [2] that try to fix the issue and become useless if the rule is removed. [1] commit 25714692b23624d04a43862db26ebcf802b89399 [2] commit d6c65aa4d48ae2bf10830e04a3fb043b06816277 closes odoo/odoo#37712 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_api.rst')
0 files changed, 0 insertions, 0 deletions