From c6eea1abe0769cd652ca9e561703e3aa53bfde62 Mon Sep 17 00:00:00 2001 From: "Dylan Kiss (dyki)" Date: Tue, 25 Oct 2022 11:42:29 +0000 Subject: [PATCH] [FIX] account: rename analytic filter closes odoo/odoo#104311 X-original-commit: 65977e432a7421fd46a15f12d1688ea7c92ee783 Related: odoo/enterprise#33324 Signed-off-by: Nicolas Viseur (vin) --- addons/account/i18n/account.pot | 10 +++++----- addons/account/models/account_report.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 0ea7d348b4a..6e64697c1ab 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -2344,6 +2344,11 @@ msgstr "" msgid "Analytic Distribution Stored Char" msgstr "" +#. module: account +#: model:ir.model.fields,field_description:account.field_account_report__filter_analytic +msgid "Analytic Filter" +msgstr "" + #. module: account #: model:ir.ui.menu,name:account.menu_action_analytic_lines_tree msgid "Analytic Items" @@ -5899,11 +5904,6 @@ msgstr "" msgid "Fill in the details of the line." msgstr "" -#. module: account -#: model:ir.model.fields,field_description:account.field_account_report__filter_analytic -msgid "Filter Analytic" -msgstr "" - #. module: account #: model:ir.model.fields,field_description:account.field_account_report__filter_fiscal_position msgid "Filter Multivat" diff --git a/addons/account/models/account_report.py b/addons/account/models/account_report.py index 7fbea7404b2..a94c70f4512 100644 --- a/addons/account/models/account_report.py +++ b/addons/account/models/account_report.py @@ -93,7 +93,7 @@ class AccountReport(models.Model): compute=lambda x: x._compute_report_option_filter('filter_journals'), readonly=False, store=True, depends=['root_report_id'], ) filter_analytic = fields.Boolean( - string="Filter Analytic", + string="Analytic Filter", compute=lambda x: x._compute_report_option_filter('filter_analytic'), readonly=False, store=True, depends=['root_report_id'], ) filter_hierarchy = fields.Selection(