Skip to content

Commit

Permalink
temp rebasing PR 719 (fc135f6)
Browse files Browse the repository at this point in the history
  • Loading branch information
roboadhoc committed Aug 16, 2023
2 parents e1e3070 + fc135f6 commit 419e387
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions l10n_ar_ux/models/account_payment.py
Expand Up @@ -21,9 +21,10 @@ def _prepare_move_line_default_vals(self, write_off_line_vals=None):
elif self.payment_method_line_id.code == 'check_printing' and self.l10n_latam_check_payment_date:
date_maturity = self.l10n_latam_check_payment_date
if date_maturity:
res[0].update({
'date_maturity': date_maturity,
})
for vals in res:
vals.update({
'date_maturity': date_maturity,
})
return res

@api.depends('payment_method_code', 'l10n_latam_check_id', 'check_number')
Expand Down

0 comments on commit 419e387

Please sign in to comment.