diff --git a/addons/l10n_au/models/template_au.py b/addons/l10n_au/models/template_au.py index 352b7f9a397..14631c31f0a 100644 --- a/addons/l10n_au/models/template_au.py +++ b/addons/l10n_au/models/template_au.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_au_template_data(self): return { 'code_digits': '5', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'au_11200', 'property_stock_account_production_cost_id': 'au_11350', 'property_account_payable_id': 'au_21200', @@ -27,6 +26,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_au_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.au', 'bank_account_code_prefix': '1111', 'cash_account_code_prefix': '1113', diff --git a/addons/l10n_bo/models/template_bo.py b/addons/l10n_bo/models/template_bo.py index 741d810bb1d..67bc80a360b 100644 --- a/addons/l10n_bo/models/template_bo.py +++ b/addons/l10n_bo/models/template_bo.py @@ -9,7 +9,6 @@ class AccountChartTemplate(models.AbstractModel): @template('bo') def _get_bo_template_data(self): return { - 'use_anglo_saxon': True, 'code_digits': '6', 'property_account_receivable_id': 'l10n_bo_1121', 'property_account_payable_id': 'l10n_bo_2121', @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_bo_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.bo', 'bank_account_code_prefix': '11130', 'cash_account_code_prefix': '11110', diff --git a/addons/l10n_ca/models/template_ca.py b/addons/l10n_ca/models/template_ca.py index ca4aa1bf89c..be5f3a6fecf 100644 --- a/addons/l10n_ca/models/template_ca.py +++ b/addons/l10n_ca/models/template_ca.py @@ -16,7 +16,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_account_input_categ_id': 'l10n_ca_121130', 'property_stock_account_output_categ_id': 'l10n_ca_121140', 'property_stock_valuation_account_id': 'l10n_ca_121120', - 'use_anglo_saxon': True, } @template('ca_2023', 'res.company') @@ -36,6 +35,7 @@ class AccountChartTemplate(models.AbstractModel): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.ca', 'bank_account_code_prefix': '11131', 'cash_account_code_prefix': '11121', diff --git a/addons/l10n_cl/models/template_cl.py b/addons/l10n_cl/models/template_cl.py index fcb57d14bd3..e8318de8177 100644 --- a/addons/l10n_cl/models/template_cl.py +++ b/addons/l10n_cl/models/template_cl.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_cl_template_data(self): return { 'code_digits': '6', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'account_110310', 'property_account_payable_id': 'account_210210', 'property_account_expense_categ_id': 'account_410235', @@ -26,6 +25,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_cl_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.cl', 'bank_account_code_prefix': '1101', 'cash_account_code_prefix': '1101', diff --git a/addons/l10n_dk/models/template_dk.py b/addons/l10n_dk/models/template_dk.py index d6c585b664e..1586ef15c58 100644 --- a/addons/l10n_dk/models/template_dk.py +++ b/addons/l10n_dk/models/template_dk.py @@ -15,7 +15,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_income_categ_id': 'dk_coa_1010', 'property_tax_payable_account_id': 'dk_coa_7840', 'property_tax_receivable_account_id': 'dk_coa_6320', - 'use_anglo_saxon': True, 'code_digits': '4', } @@ -23,6 +22,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_dk_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.dk', 'bank_account_code_prefix': '648', 'cash_account_code_prefix': '647', diff --git a/addons/l10n_do/models/template_do.py b/addons/l10n_do/models/template_do.py index 5e84c4f42cb..0c20366f4ac 100644 --- a/addons/l10n_do/models/template_do.py +++ b/addons/l10n_do/models/template_do.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_do_template_data(self): return { 'code_digits': '8', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'l10n_do_11030201', 'property_account_payable_id': 'l10n_do_21010200', 'property_account_income_categ_id': 'l10n_do_41010100', @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_do_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.do', 'bank_account_code_prefix': '110102', 'cash_account_code_prefix': '110101', diff --git a/addons/l10n_hk/models/template_hk.py b/addons/l10n_hk/models/template_hk.py index 8d8f5a01618..4776564384d 100644 --- a/addons/l10n_hk/models/template_hk.py +++ b/addons/l10n_hk/models/template_hk.py @@ -13,7 +13,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_payable_id': 'l10n_hk_2211', 'property_account_income_categ_id': 'l10n_hk_41', 'property_account_expense_categ_id': 'l10n_hk_51', - 'use_anglo_saxon': True, 'code_digits': '6', } @@ -21,6 +20,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_hk_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.hk', 'bank_account_code_prefix': '1200', 'cash_account_code_prefix': '1210', diff --git a/addons/l10n_id/models/template_id.py b/addons/l10n_id/models/template_id.py index bfdbaae4633..4a2f198d82b 100644 --- a/addons/l10n_id/models/template_id.py +++ b/addons/l10n_id/models/template_id.py @@ -16,7 +16,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_account_input_categ_id': 'l10n_id_29000000', 'property_stock_account_output_categ_id': 'l10n_id_29000000', 'property_stock_valuation_account_id': 'l10n_id_11300180', - 'use_anglo_saxon': 1, 'code_digits': '8', } @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_id_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.id', 'bank_account_code_prefix': '1112', 'cash_account_code_prefix': '1111', diff --git a/addons/l10n_ie/models/template_ie.py b/addons/l10n_ie/models/template_ie.py index a5b24b7a4a5..45b3fc1a199 100644 --- a/addons/l10n_ie/models/template_ie.py +++ b/addons/l10n_ie/models/template_ie.py @@ -17,7 +17,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_advance_tax_payment_account_id': 'l10n_ie_account_2132', 'property_tax_payable_account_id': 'l10n_ie_account_3804', 'property_tax_receivable_account_id': 'l10n_ie_account_2131', - 'use_anglo_saxon': False, 'code_digits': '6', } diff --git a/addons/l10n_ke/models/template_ke.py b/addons/l10n_ke/models/template_ke.py index 0e503823819..79db0d40b2e 100644 --- a/addons/l10n_ke/models/template_ke.py +++ b/addons/l10n_ke/models/template_ke.py @@ -16,7 +16,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_valuation_account_id': 'ke1001', 'property_stock_account_output_categ_id': 'ke100120', 'property_stock_account_input_categ_id': 'ke100110', - 'use_anglo_saxon': True, 'code_digits': '6', } @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_ke_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.ke', 'bank_account_code_prefix': '12000', 'cash_account_code_prefix': '12500', diff --git a/addons/l10n_lt/models/template_lt.py b/addons/l10n_lt/models/template_lt.py index cffa6374f31..053aff217ce 100644 --- a/addons/l10n_lt/models/template_lt.py +++ b/addons/l10n_lt/models/template_lt.py @@ -17,13 +17,13 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_account_output_categ_id': 'account_account_template_2045', 'property_stock_valuation_account_id': 'account_account_template_2040', 'code_digits': '6', - 'use_anglo_saxon': True, } @template('lt', 'res.company') def _get_lt_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.lt', 'bank_account_code_prefix': '271', 'cash_account_code_prefix': '272', diff --git a/addons/l10n_lv/models/template_lv.py b/addons/l10n_lv/models/template_lv.py index cd04895ee5b..70175676fc7 100644 --- a/addons/l10n_lv/models/template_lv.py +++ b/addons/l10n_lv/models/template_lv.py @@ -14,13 +14,13 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_expense_categ_id': 'a7550', 'property_account_income_categ_id': 'a6110', 'code_digits': '4', - 'use_anglo_saxon': True, } @template('lv', 'res.company') def _get_lv_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.lv', 'bank_account_code_prefix': '2620', 'cash_account_code_prefix': '2610', diff --git a/addons/l10n_mn/models/template_mn.py b/addons/l10n_mn/models/template_mn.py index 8cd296359f1..7e6f8e67f2c 100644 --- a/addons/l10n_mn/models/template_mn.py +++ b/addons/l10n_mn/models/template_mn.py @@ -19,13 +19,13 @@ class AccountChartTemplate(models.AbstractModel): 'property_tax_payable_account_id': 'account_template_3401_9902', 'property_tax_receivable_account_id': 'account_template_1204_9902', 'code_digits': '8', - 'use_anglo_saxon': True, } @template('mn', 'res.company') def _get_mn_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.mn', 'bank_account_code_prefix': '11', 'cash_account_code_prefix': '10', diff --git a/addons/l10n_mx/models/template_mx.py b/addons/l10n_mx/models/template_mx.py index 4a8be08d003..49c33e5de7e 100644 --- a/addons/l10n_mx/models/template_mx.py +++ b/addons/l10n_mx/models/template_mx.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_mx_template_data(self): return { 'code_digits': '3', - 'use_anglo_saxon': True, 'display_invoice_amount_total_words': True, 'property_account_receivable_id': 'cuenta105_01', 'property_account_payable_id': 'cuenta201_01', @@ -26,6 +25,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_mx_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.mx', 'bank_account_code_prefix': '102.01.0', 'cash_account_code_prefix': '101.01.0', diff --git a/addons/l10n_my/models/template_my.py b/addons/l10n_my/models/template_my.py index baed846d0aa..ceee5fe64c0 100644 --- a/addons/l10n_my/models/template_my.py +++ b/addons/l10n_my/models/template_my.py @@ -13,7 +13,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_payable_id': 'l10n_my_2211', 'property_account_income_categ_id': 'l10n_my_41', 'property_account_expense_categ_id': 'l10n_my_51', - 'use_anglo_saxon': True, 'code_digits': '6', } @@ -21,6 +20,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_my_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.my', 'bank_account_code_prefix': '1200', 'cash_account_code_prefix': '1210', diff --git a/addons/l10n_nl/models/template_nl.py b/addons/l10n_nl/models/template_nl.py index 1959bc871f9..1c623a41f0c 100644 --- a/addons/l10n_nl/models/template_nl.py +++ b/addons/l10n_nl/models/template_nl.py @@ -19,13 +19,13 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_valuation_account_id': '3200', 'property_tax_payable_account_id': 'pay', 'property_tax_receivable_account_id': 'pay', - 'use_anglo_saxon': True, } @template('nl', 'res.company') def _get_nl_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.nl', 'bank_account_code_prefix': '103', 'cash_account_code_prefix': '101', diff --git a/addons/l10n_nz/models/template_nz.py b/addons/l10n_nz/models/template_nz.py index 19a01fbb7ae..605510e9783 100644 --- a/addons/l10n_nz/models/template_nz.py +++ b/addons/l10n_nz/models/template_nz.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_nz_template_data(self): return { 'code_digits': '5', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'nz_11200', 'property_account_payable_id': 'nz_21200', 'property_account_expense_categ_id': 'nz_51110', @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_nz_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.nz', 'bank_account_code_prefix': '1111', 'cash_account_code_prefix': '1113', diff --git a/addons/l10n_ph/models/template_ph.py b/addons/l10n_ph/models/template_ph.py index 3e261b12a5c..27cc62ae5d1 100644 --- a/addons/l10n_ph/models/template_ph.py +++ b/addons/l10n_ph/models/template_ph.py @@ -17,13 +17,13 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_account_input_categ_id': 'l10n_ph_110302', 'property_stock_account_output_categ_id': 'l10n_ph_110303', 'code_digits': '6', - 'use_anglo_saxon': True, } @template('ph', 'res.company') def _get_ph_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.ph', 'bank_account_code_prefix': '1000', 'cash_account_code_prefix': '1001', diff --git a/addons/l10n_rs/models/template_rs.py b/addons/l10n_rs/models/template_rs.py index 089a4cdc9e4..784f4446bd2 100644 --- a/addons/l10n_rs/models/template_rs.py +++ b/addons/l10n_rs/models/template_rs.py @@ -14,7 +14,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_payable_id': 'rs_435', 'property_account_receivable_id': 'rs_204', 'code_digits': '4', - 'use_anglo_saxon': True, 'use_storno_accounting': True, } @@ -22,6 +21,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_rs_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.rs', 'bank_account_code_prefix': '241', 'cash_account_code_prefix': '243', diff --git a/addons/l10n_tw/models/template_tw.py b/addons/l10n_tw/models/template_tw.py index 39f545cfaba..28db14aa3a5 100644 --- a/addons/l10n_tw/models/template_tw.py +++ b/addons/l10n_tw/models/template_tw.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_tw_template_data(self): return { 'code_digits': '6', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'tw_119100', 'property_account_payable_id': 'tw_217100', 'property_account_expense_categ_id': 'tw_511100', @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_tw_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.tw', 'bank_account_code_prefix': '1113', 'cash_account_code_prefix': '1111', diff --git a/addons/l10n_ua/models/template_ua_ias.py b/addons/l10n_ua/models/template_ua_ias.py index 98d26ac8966..b2e0190be83 100644 --- a/addons/l10n_ua/models/template_ua_ias.py +++ b/addons/l10n_ua/models/template_ua_ias.py @@ -13,7 +13,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_payable_id': 'ua_ias_1200', 'property_account_expense_categ_id': 'ua_ias_2200', 'property_account_income_categ_id': 'ua_ias_2000', - 'use_anglo_saxon': True, 'property_stock_account_input_categ_id': 'ua_ias_1201', 'property_stock_account_output_categ_id': 'ua_ias_1121', 'property_stock_valuation_account_id': 'ua_ias_1100', @@ -27,6 +26,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_ua_ias_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.ua', 'bank_account_code_prefix': '1112', 'cash_account_code_prefix': '1111', diff --git a/addons/l10n_ua/models/template_ua_psbo.py b/addons/l10n_ua/models/template_ua_psbo.py index c21d68d9cf2..729563c94dc 100644 --- a/addons/l10n_ua/models/template_ua_psbo.py +++ b/addons/l10n_ua/models/template_ua_psbo.py @@ -13,7 +13,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_payable_id': 'ua_psbp_631', 'property_account_expense_categ_id': 'ua_psbp_901', 'property_account_income_categ_id': 'ua_psbp_701', - 'use_anglo_saxon': True, 'property_stock_account_input_categ_id': 'ua_psbp_2812', 'property_stock_account_output_categ_id': 'ua_psbp_2811', 'property_stock_valuation_account_id': 'ua_psbp_281', @@ -27,6 +26,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_ua_psbo_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.ua', 'bank_account_code_prefix': '311', 'cash_account_code_prefix': '301', diff --git a/addons/l10n_uk/models/template_uk.py b/addons/l10n_uk/models/template_uk.py index 7e704aa6c9e..e847480155b 100644 --- a/addons/l10n_uk/models/template_uk.py +++ b/addons/l10n_uk/models/template_uk.py @@ -15,7 +15,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_account_income_categ_id': '4000', 'property_tax_payable_account_id': '2202', 'property_tax_receivable_account_id': '2202', - 'use_anglo_saxon': True, 'code_digits': '6', } @@ -23,6 +22,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_uk_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.uk', 'bank_account_code_prefix': '1200', 'cash_account_code_prefix': '1210', diff --git a/addons/l10n_vn/models/template_vn.py b/addons/l10n_vn/models/template_vn.py index 5f1d75732e5..83d297009e2 100644 --- a/addons/l10n_vn/models/template_vn.py +++ b/addons/l10n_vn/models/template_vn.py @@ -10,7 +10,6 @@ class AccountChartTemplate(models.AbstractModel): def _get_vn_template_data(self): return { 'code_digits': '0', - 'use_anglo_saxon': True, 'property_account_receivable_id': 'chart131', 'property_account_payable_id': 'chart331', 'property_account_expense_categ_id': 'chart1561', @@ -21,6 +20,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_vn_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.vn', 'bank_account_code_prefix': '112', 'cash_account_code_prefix': '111', diff --git a/addons/l10n_za/models/template_za.py b/addons/l10n_za/models/template_za.py index afa93c0153f..d5414cf5019 100644 --- a/addons/l10n_za/models/template_za.py +++ b/addons/l10n_za/models/template_za.py @@ -16,7 +16,6 @@ class AccountChartTemplate(models.AbstractModel): 'property_stock_account_input_categ_id': '200010', 'property_stock_account_output_categ_id': '100050', 'property_stock_valuation_account_id': '100020', - 'use_anglo_saxon': True, 'code_digits': '6', } @@ -24,6 +23,7 @@ class AccountChartTemplate(models.AbstractModel): def _get_za_res_company(self): return { self.env.company.id: { + 'anglo_saxon_accounting': True, 'account_fiscal_country_id': 'base.za', 'bank_account_code_prefix': '1200', 'cash_account_code_prefix': '1250',