Skip to content

Commit

Permalink
[ADD] l10n_ar_edi_ux: mejora de rendimiento en actualizacion masiva d…
Browse files Browse the repository at this point in the history
…e partners

Task: 37730
  • Loading branch information
mem-adhoc committed Apr 23, 2024
1 parent d61b74b commit f9408b9
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,12 @@ def _update(self):
def automatic_process_cb(self):
for partner in self.partner_ids:
self.partner_id = partner.id
self.change_partner()
self._update()
try:
self.change_partner()
self._update()
except:
continue

self.write({'state': 'finished'})
return {
'type': 'ir.actions.act_window',
Expand All @@ -180,6 +184,7 @@ def automatic_process_cb(self):
'target': 'new',
}


def update_selection(self):
self.ensure_one()
if not self.field_ids:
Expand Down

0 comments on commit f9408b9

Please sign in to comment.