Skip to content

Commit

Permalink
[16.0][MIG] l10n_es_aeat_mod349: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoRomera committed Feb 6, 2023
2 parents cb63054 + ad55868 commit 9e7c33b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l10n_es_aeat_mod349/models/mod349.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ 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
Expand Down

0 comments on commit 9e7c33b

Please sign in to comment.