summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2019-09-06 08:11:48 +0000
committerJosse Colpaert <jco@odoo.com>2019-09-06 08:11:59 +0000
commitcc505b4b578a07b3086eed39b313b7fc8794ba93 (patch)
treee2c5f77e8f8524ca8ede8b6fce3c6fbd0d7d6075 /addons/web/static/src/js/views/basic/basic_view.js
parentb7c717d9591ea5b48af423ce1e56937a1aa12ab4 (diff)
[FIX] base: partner of company should be shared in multi-company
We got an error before e.g. when we changed the address of a created company because the company created is not yet in the allowed_companies in the environment. Also, it does not make sense that the company of the partner of a company is that company. When you create a new partner, partners are shared by default between companies (company_id False). And in most multi-company situations, operations are made between them, so it makes extra sense to share their partners. So, we don't set the company of the partner of a company anymore. closes odoo/odoo#36510 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions