Revert "[FIX] sale: recompute delivered qty"

This commit shouldn't have been land in saas~11.3
See https://git.io/fjg2o

This reverts commit a25f6e1b96.
This commit is contained in:
Christophe Simonis
2019-06-11 13:43:32 +02:00
parent 7bd3f9379d
commit 6dd58871e1
-3
View File
@@ -1017,9 +1017,6 @@ class SaleOrderLine(models.Model):
"""
result = {}
# The delivered quantity of Sales Lines in 'manual' mode should not be erased
self = self.filtered(lambda sol: sol.product_id.service_type != 'manual')
# avoid recomputation if no SO lines concerned
if not self:
return result