Skip to content

Commit

Permalink
Merge PR #3600 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by antoniospneto
  • Loading branch information
OCA-git-bot committed Jan 30, 2025
2 parents 2d5c76a + 52f20c7 commit b604a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n_br_account_payment_order/tests/test_base_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _send_new_cnab_code(
) as f:
f.change_type = code_to_send
if code_to_send == "change_date_maturity":
new_date = date.today() + timedelta(days=30)
new_date = date.today() + timedelta(days=40)
payment_cheque = self.env.ref(
"l10n_br_account_payment_order." "payment_mode_cheque"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def setUpClass(cls):
def test_change_date_maturity_multiple(self):
"""Test Creation of a Payment Order an change MULTIPLE due date"""
date_maturity = self.financial_move_line_ids.mapped("date_maturity")
new_date = date.today() + timedelta(days=30)
new_date = date.today() + timedelta(days=40)
self._send_and_check_new_cnab_code(
self.invoice_auto,
self.financial_move_line_ids,
Expand All @@ -77,7 +77,7 @@ def test_change_date_maturity_multiple(self):
def test_change_date_maturity_one(self):
"""Test Creation of a Payment Order an change ONE due date"""
date_maturity = self.financial_move_line_0.mapped("date_maturity")
new_date = date.today() + timedelta(days=30)
new_date = date.today() + timedelta(days=40)
self._send_and_check_new_cnab_code(
self.invoice_auto,
self.financial_move_line_0,
Expand Down

0 comments on commit b604a22

Please sign in to comment.