Skip to content
Snippets Groups Projects

:ambulance: fix tests

Merged Vincent Hatakeyama requested to merge topic/15.0/fix-tests into branch/15.0
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -69,6 +69,11 @@
def test_default_date_stop(self):
"""Test the default value for date_stop."""
# make sure the chart with periods is loaded
self.env.user.company_id.chart_template_id._load_periods(
self.env.user.company_id
)
next_year = datetime.date.today().year + 1
fiscalyear_model = self.env["account.fiscalyear"]
next_date = fiscalyear_model._default_date_stop()
Loading