Add company domain to check erase

issue8906
review256321002
This commit is contained in:
Cédric Krier committed 2019-12-14 10:47:54 +01:00
1 parent a27d1e7c52
commit fef826db83
1 file changed
+1
+1
View File
@@ -34,6 +34,7 @@ class PartyErase(metaclass=PoolMeta):
('supplier', '=', party.id),
('customer', '=', party.id),
],
('company', '=', company.id),
('state', 'not in', ['done', 'cancel']),
])
if shipments: