diff options
| author | Marc-mvw <mvw@odoo.com> | 2021-01-07 15:37:33 +0000 |
|---|---|---|
| committer | Marc-mvw <mvw@odoo.com> | 2021-01-07 15:37:33 +0000 |
| commit | 6b4941160f336ed7a45287c5568dabd1c56289aa (patch) | |
| tree | 6dfe5efa155ec5f9fcd4fd38214f5464886eb04a /addons/mail/static/src/models/thread_cache | |
| parent | 4e8581b6846ef8ee4601c994b0d586734a4fe117 (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
