diff options
| author | Arnold Moyaux <arm@odoo.com> | 2020-01-27 15:07:30 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2020-04-22 07:47:16 +0000 |
| commit | 7076a86addb2e37dfa9d454864c73dca3a2a1b7c (patch) | |
| tree | 147341b24785fbdde03d786d598114be2769e5c7 /addons/web/static/src | |
| parent | 4d5060d665c90eb30a24c542b8902bf2b5d852eb (diff) | |
[IMP] stock: _get_rule allows to specify route_ids
_search_rule on procurements search in a specific way in this order:
- First: route passed in the procurement values
- Second: route on product/product category
- Third: route on warehouse
- Fourth: remaining route.
However _get_rule doesn't allow to simulate the first usecase with
the route on procurement. This commit add the functionality.
(Usefull for replenishment report where a route_id could be set
on an orderpoint)
Task: 2161378
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
