check for same product in constraint for internal oderpoints
issue3591 review2721002 (transplanted from 203cecdea47d9daf7e53bf7d7070a3aa60806004)
This commit is contained in:
1 parent
af705205c9
commit
2a70d2fa46
1 file changed
+1
@@ -139,6 +139,7 @@ class OrderPoint(ModelSQL, ModelView):
|
||||
query = ['OR']
|
||||
for op in internals:
|
||||
arg = ['AND',
|
||||
('product', '=', op.product.id),
|
||||
('provisioning_location', '=', op.storage_location.id),
|
||||
('storage_location', '=', op.provisioning_location.id),
|
||||
('company', '=', op.company.id),
|
||||
|
||||
Reference in new issue
Block a user