diff --git a/addons/l10n_au/models/template_au.py b/addons/l10n_au/models/template_au.py index 9794181d1fb..f13e2a9bd29 100644 --- a/addons/l10n_au/models/template_au.py +++ b/addons/l10n_au/models/template_au.py @@ -1,5 +1,5 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. -from odoo import models +from odoo import fields, models from odoo.addons.account.models.chart_template import template @@ -37,5 +37,8 @@ class AccountChartTemplate(models.AbstractModel): 'account_journal_early_pay_discount_gain_account_id': 'au_61620', 'fiscalyear_last_month': '6', 'fiscalyear_last_day': 30, + # Changing the opening date to the first day of the fiscal year. + # This way the opening entries will be set to the 30th of June. + 'account_opening_date': fields.Date.context_today(self).replace(month=7, day=1), }, }