Files
odoo_source/addons/stock/models
Ankita Raval ea6786dfcb [FIX] stock: fix inconsistency beteen product variant and product template
Before commit:
   The issue is that the product is not in the 'available' filter but its
   kanban tile says 'on hand' quantity is available. A different issue is a raise because of this commit:
   https://github.com/odoo/odoo/commit/b08e3d114aa4efe687b4d4cca3de462a3dbe6eea. in this
   commit set the "active_test=False" for product template that's why it fetches all active and inactive
   warehouses and it becomes true for product variant as we don't get
   active_test=False. so condition becomes true and it will fetch only active warehouse and related
   location and result is displayed the different on_hand qty on variant and template.

After commit:
   we prevent the archive location quantity on the product template and its related quants to
   make a consistency between product template and product variant.

closes odoo/odoo#74965

X-original-commit: 52a9d4f08f383acbdcd4b06b8bcb6ee7844243b1
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-08-11 12:12:08 +00:00
..