Skip to content

Commit 9aaa88d

Browse files
committed
[IMP]account_refund_linked_invoice: improve dictionary value update as coding standard
1 parent 160c55b commit 9aaa88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: account_refund_linked_invoice/models/account_invoice.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ def _prepare_refund(self, invoice,
4747
date=date, period_id=period_id,
4848
description=description, journal_id=journal_id
4949
)
50-
res['origin_invoice_id'] = invoice.id
50+
res.update(origin_invoice_id=invoice.id)
5151
return res

0 commit comments

Comments
 (0)