diff options
| author | len-odoo <len@odoo.com> | 2018-11-14 10:37:47 +0000 |
|---|---|---|
| committer | len-odoo <len@odoo.com> | 2018-11-14 10:38:57 +0000 |
| commit | db1ce8b591eb7785dfb55ed931e9d72f88ddec67 (patch) | |
| tree | 7ce88f8ee06ea788f66363a36567bc7fd6e04db4 /addons/web_editor/static/src/js/widgets/widgets.js | |
| parent | 263b388c5045bebc77cc27847f7500784f63c7f5 (diff) | |
[FIX] stock_account: add a force_company to update the correct price in FIFO costing
Fine-tuning of commit: o50f77ba091189bd785d459c042a6cec04a125fdb
When costing is in FIFO mode, product price can be updated whereas the current
user doesn't have the right to modify the products.
It therefore introduced a sudo() to make this computation;
however since this is modifying a company-dependent field,
a force_company was missing to update the correct one.
Closes #28487
opw 1907377
closes odoo/odoo#28662
Diffstat (limited to 'addons/web_editor/static/src/js/widgets/widgets.js')
0 files changed, 0 insertions, 0 deletions
