Skip to content

Commit 92c868c

Browse files
feg-adhocjjscarafia
authored andcommitted
[FIX] l10n_ar_stock: Fixed _load params
1 parent 35c06e0 commit 92c868c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

l10n_ar_stock/models/account_chart_template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
class AccountChartTemplate(models.AbstractModel):
99
_inherit = "account.chart.template"
1010

11-
def _load(self, template_code, company, install_demo):
11+
def _load(self, template_code, company, install_demo, force_create=True):
1212
if template_code in ("ar_base", "ar_ex", "ar_ri"):
1313
self.generate_stock_book(company)
14-
return super(AccountChartTemplate, self)._load(template_code, company, install_demo)
14+
return super(AccountChartTemplate, self)._load(template_code, company, install_demo, force_create)
1515

1616
@api.model
1717
def generate_stock_book(self, company):

0 commit comments

Comments
 (0)