summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-02-21 08:28:45 +0000
committerNicolas Martinelli <nim@odoo.com>2019-02-21 10:41:45 +0000
commit27f8bb8913d71850395c15d7958b926020792afb (patch)
tree49e930fe49254b90f4ab858318471cb4bfeb12e8 /addons/web/static/src/js/fields/basic_fields.js
parentb2db72c9d132174a0b3c4eae43997e970a66497c (diff)
[FIX] stock: inventory on category
- Create a product category A - Create a product category A1 - Add a product in A1 - Launch an inventory adjustment on A, and select 'Exhausted Products' All products (even from other categories) are included. Since there is no product found in the category `products_to_filter` and `quant_products` are empty. Therefore, we fall back on `[('id', 'not in', [])]`, which selects everything. The root cause is that we don't include child categories. There is no real point of doing so. opw-1932192 closes odoo/odoo#31322
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions