summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-07-30 08:34:32 +0000
committerNans Lefebvre <len@odoo.com>2019-07-30 08:34:48 +0000
commitb4e9b680ec5dca9a14b5712a53a67efab36cef36 (patch)
treed5ddc70afcb7816c859ba25b2a8686af3be03431 /addons/web/static/src/js/views/basic
parentbec8bf35d3588c7c45f873fb149d95ff84824361 (diff)
[FIX] purchase_stock: default to the correct company in new PO
When the scheduler needs to create a new PO to resupply a product, it tries to use the 'supplier currency' on the vendor if set, and defaulted to the currency of the current user's company. However the scheduler is run in sudo, so the user is OdooBot, which means that the currency is incorrect if OdooBot is in another company. The company that should be used is the one that is used everywhere else. opw 2041798 closes odoo/odoo#35285 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions