summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-10-15 13:47:47 +0200
committerSimon Lejeune <sle@openerp.com>2018-10-15 15:05:56 +0200
commitdd501bbe3739b3f18d830363ad5582e21fdedca8 (patch)
tree3fb38aa0856a18262233a6c7a03d74b921a57e98 /addons/web/static/src
parent17b625695521b9a1af75e0c10337d0d3076c8fce (diff)
[FIX] stock: replenish infinite loop with production
Usecase to reproduce: - Create a BoM for a product with route Manufacture - Use replenish wizard in order to fill your stock It traceback due to an infinite loop. It happens because when the production order creates the raw moves, it does not set a product template. However a default_product template is in the context and is used as default value. So it creates a raw move with the component as product.product and the production product as template. Since they are related it will modify the product_tmpl_id of the product.product. It result by having a component with the finished product as template and it will use the same stock rules and bom again and again. This commit clean the context before running procurement rules. opw-1890661
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions