Skip to content

Commit e76f8bc

Browse files
committed
[MIG] sale_automatic_workflow: port PR to 14.0
1 parent e8e3b7f commit e76f8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sale_automatic_workflow/models/automatic_workflow_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ def _prepare_dict_account_payment(self, invoice):
161161
return {
162162
"reconciled_invoice_ids": [(6, 0, invoice.ids)],
163163
"amount": invoice.amount_residual,
164+
"date": fields.Date.context_today(self),
164165
"partner_id": invoice.partner_id.id,
165166
"partner_type": partner_type,
166-
"date": fields.Date.context_today(self),
167167
}
168168

169169
@api.model

0 commit comments

Comments
 (0)