summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorMarc-mvw <mvw@odoo.com>2021-01-07 15:37:33 +0000
committerMarc-mvw <mvw@odoo.com>2021-01-07 15:37:33 +0000
commit6b4941160f336ed7a45287c5568dabd1c56289aa (patch)
tree6dfe5efa155ec5f9fcd4fd38214f5464886eb04a /addons/mail/static/src/models/thread_cache
parent4e8581b6846ef8ee4601c994b0d586734a4fe117 (diff)
[FIX] stock: Wrong active warehouse on forecasted qty button
Until now, when no matches were found between warehouse ids and the context.allowed_company id, clicking the forecasted_qty button on a product would lead to a traceback. This is because in get_filter_state, the 'active_warehouse' used to correspond to a company id, which was irrelevant. We modify get_filter_state so that 'active_warehouse' now corresponds to a warehouse with that company id instead. opw-2418559 closes odoo/odoo#64222 Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions