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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user