diff --git a/l10n_ar_stock/models/account_chart_template.py b/l10n_ar_stock/models/account_chart_template.py index 8f1b8450..47e6c1fa 100644 --- a/l10n_ar_stock/models/account_chart_template.py +++ b/l10n_ar_stock/models/account_chart_template.py @@ -8,10 +8,10 @@ class AccountChartTemplate(models.AbstractModel): _inherit = "account.chart.template" - def _load(self, template_code, company, install_demo): + def _load(self, template_code, company, install_demo, force_create=True): if template_code in ("ar_base", "ar_ex", "ar_ri"): self.generate_stock_book(company) - return super(AccountChartTemplate, self)._load(template_code, company, install_demo) + return super(AccountChartTemplate, self)._load(template_code, company, install_demo, force_create) @api.model def generate_stock_book(self, company):