summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/product_sla.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_sla.py b/indoteknik_custom/models/product_sla.py
index afc2a5af..73f6dcbc 100644
--- a/indoteknik_custom/models/product_sla.py
+++ b/indoteknik_custom/models/product_sla.py
@@ -64,7 +64,7 @@ class ProductSla(models.Model):
('product_id', '=', sla.product_variant_id.id),
('picking_id', '!=', False),
('picking_id.location_id', '=', 57),
- ('picking_id.state', 'in', ['done','assigned'])
+ ('picking_id.state', 'not in', ['cancel'])
]
picking = self.env['stock.move.line'].search(query)
leadtimes=[]