diff --git a/purchase.py b/purchase.py index 24bd6d3309..2b869be082 100644 --- a/purchase.py +++ b/purchase.py @@ -1619,7 +1619,7 @@ class Line(sequence_ordered(), ModelSQL, ModelView): return if not self.product: return - if self.product.type == 'service': + if self.product.type not in Move.get_product_types(): return if (self.quantity >= 0) != (move_type == 'in'):