Initial commit: L10N_Asia Pacific packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:52 +02:00
commit 54c86b612c
828 changed files with 58224 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models
class AccountChartTemplate(models.AbstractModel):
_inherit = "account.chart.template"
@api.model
def _get_demo_data(self):
company = self.env.company
if company.account_fiscal_country_id.code == "IN":
if company.state_id.country_id.code != "IN":
company.state_id = self.env.ref("base.state_in_gj")
if company.country_id.code != "IN":
company.country_id = self.env.ref("base.in")
return super()._get_demo_data()