From 0b3d9a0360fbd3f3f20fc2a147618b0262696d1f Mon Sep 17 00:00:00 2001 From: SaddemAmine Date: Mon, 31 Jul 2023 07:51:09 +0000 Subject: [PATCH] [REF] account, l10n_{bo,lv}: remove 'none' figure_type This commit removes the 'none' figure_type from the account_tax_report because it is redundant since other figure_types have been added. Especially 'string' which practically does the same thing. task ID: 3434197 closes odoo/odoo#130166 Related: odoo/enterprise#44833 Related: odoo/upgrade#5010 Signed-off-by: Josse Colpaert --- addons/account/models/account_report.py | 1 - addons/l10n_bo/data/account_tax_report_data.xml | 2 +- addons/l10n_lv/data/vat_tax_report.xml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/account/models/account_report.py b/addons/account/models/account_report.py index bc27dded513..caacf28ae23 100644 --- a/addons/account/models/account_report.py +++ b/addons/account/models/account_report.py @@ -16,7 +16,6 @@ FIGURE_TYPE_SELECTION_VALUES = [ ('datetime', "Datetime"), ('boolean', 'Boolean'), ('string', 'String'), - ('none', "No Formatting"), ] DOMAIN_REGEX = re.compile(r'(-?sum)\((.*)\)') diff --git a/addons/l10n_bo/data/account_tax_report_data.xml b/addons/l10n_bo/data/account_tax_report_data.xml index 6623df3232b..a6caf726a2e 100644 --- a/addons/l10n_bo/data/account_tax_report_data.xml +++ b/addons/l10n_bo/data/account_tax_report_data.xml @@ -10,7 +10,7 @@ Code code - none + string Balance diff --git a/addons/l10n_lv/data/vat_tax_report.xml b/addons/l10n_lv/data/vat_tax_report.xml index a49c3532fcc..26ebeadf264 100644 --- a/addons/l10n_lv/data/vat_tax_report.xml +++ b/addons/l10n_lv/data/vat_tax_report.xml @@ -10,7 +10,7 @@ Code code - none + string Balance