summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-07-24 07:53:34 +0000
committerPierre Masereel <pim@odoo.com>2019-07-24 07:53:34 +0000
commit66c49dd451e8debdb3d28c22cda0d4e80b383501 (patch)
tree50a98a935da8e702dc3868ea83bf4cbde010ac0d /addons/web/static/src/js/views/basic/basic_controller.js
parent00476acea079c0e429364beadaa02756216b8a80 (diff)
[FIX] stock: use current company
Since changes made on multi-company, env.user.company_id doesn't reprsent the the current company anymore, it is only the company in which the user will be connected by default in Odoo. The current main company is now available under env.company, so we use now the current company instead of the user default. closes odoo/odoo#35129 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions