Only check if expected_quantity has changed
Since rev 7166c43434f7, the quantity field is no more filled. issue8433 review285371002
This commit is contained in:
1 parent
2429ddadea
commit
e8b713a3d1
1 file changed
+1
-1
+1
-1
@@ -460,7 +460,7 @@ class InventoryLine(ModelSQL, ModelView):
|
||||
'''
|
||||
values = {}
|
||||
# if nothing changed, no update
|
||||
if self.quantity == self.expected_quantity == quantity:
|
||||
if self.expected_quantity == quantity:
|
||||
return values
|
||||
values['expected_quantity'] = quantity
|
||||
return values
|
||||
|
||||
Reference in new issue
Block a user