Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
21c82918 by Adrià Tarroja Caubet at 2023-02-22T09:49:07+01:00
Do not copy production lead times of product
As the BoMs are not copied and the production lead times may have a link to
the product BoM, we should not copy them.
Closes #12104
- - - - -
1 changed file:
- modules/production/product.py
Changes:
=====================================
modules/production/product.py
=====================================
@@ -73,6 +73,7 @@
else:
default = default.copy()
default.setdefault('boms', None)
+ default.setdefault('lead_times', None)
return super(Product, cls).copy(products, default=default)
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/21c829189c1a1824582161af76e219b4ae30b63c
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/21c829189c1a1824582161af76e219b4ae30b63c
You're receiving this email because of your account on foss.heptapod.net.