Skip to content

Commit

Permalink
Merge PR OCA#1320 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jul 16, 2024
2 parents 572523f + a081876 commit 959ed2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_payment_order/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def _prepare_move_line_default_vals(self, write_off_line_vals=None):
if not self.payment_order_id:
return vals_list
for vals in vals_list:
vals["date_maturity"] = self.payment_line_ids[0].date
vals["date_maturity"] = self.payment_line_ids[:1].date
return vals_list

0 comments on commit 959ed2b

Please sign in to comment.