Add model, record and records attribute on Wizard

issue9421
review309861012
This commit is contained in:
Cédric Krier committed 2020-07-07 23:56:10 +02:00
1 parent 176f234e56
commit e14741f15a
1 file changed
+1 -4
+1 -4
View File
@@ -514,12 +514,9 @@ class CheckVIES(Wizard):
])
def transition_check(self):
Party = Pool().get('party.party')
parties_succeed = []
parties_failed = []
parties = Party.browse(Transaction().context.get('active_ids'))
for party in parties:
for party in self.records:
for identifier in party.identifiers:
if identifier.type != 'eu_vat':
continue