diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-06-02 18:15:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 09:57:12 +0000 |
| commit | 4b0925570980292e08dff074e39fc5478ef0314f (patch) | |
| tree | 7128e71a87ebe7048ce398cb0879cb99c4ff942a /addons/web/static/src | |
| parent | 014d9fcea4738210e44c6d36cc665a4c8f60c988 (diff) | |
[FIX] stock: correct company
Before this commit, `self.env.user.company_id.id` may represents different company from the current company based on context.
In this commit, we use correct company based on contextual company.
Follow up on b39173a8ffc4ef5dd5524e027a9f0ad746b07bd8
closes odoo/odoo#52328
X-original-commit: 2314ce8b3de80ff6c4c9dec35ea6a201f885ba16
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
