diff --git a/l10n_es_aeat_mod349/models/mod349.py b/l10n_es_aeat_mod349/models/mod349.py index 7eea444df53..cecac00690c 100644 --- a/l10n_es_aeat_mod349/models/mod349.py +++ b/l10n_es_aeat_mod349/models/mod349.py @@ -203,7 +203,6 @@ def _create_349_refund_records(self): groups.setdefault(key, refund_detail_obj) groups[key] += refund_detail for (origin_invoice, op_key), refund_details in groups.items(): - refund_details = groups[origin_invoice] refund_detail = first(refund_details) move_line = refund_detail.refund_line_id partner = move_line.partner_id