From 4c4ccd7b149d1d502d86ad6b9a99a726e1db2b40 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 10 Feb 2016 11:22:35 +0100 Subject: [PATCH] [FIX] account: settings, Assets management & Revenue recognition The checkbox `Assets management & Revenue recognition` actually installs only the assets management. The revenue recognition is not installed when checking this box. Actually, the revenue recognition is not even available within the community edition. This box couldn't therefore possibly install this module. opw-669093 --- addons/account/i18n/account.pot | 3 +-- addons/account/models/res_config.py | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 40c6753ec66..c61d0140604 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -1561,7 +1561,6 @@ msgstr "" #: model:ir.model.fields,help:account.field_account_config_settings_module_account_asset msgid "Asset management: This allows you to manage the assets owned by a company or a person. It keeps track of the depreciation occurred on those assets, and creates account move for those depreciation lines.\n" "\n" -"Revenue recognition: This allows you to manage the Revenue recognition on selling product. It keeps track of the installment occurred on those revenue recognition, and creates account move for those installment lines.\n" "-This installs the module account_asset. If you do not check this box, you will be able to do invoicing & payments, but not accounting (Journal Items, Chart of Accounts, ...)" msgstr "" @@ -1572,7 +1571,7 @@ msgstr "" #. module: account #: model:ir.model.fields,field_description:account.field_account_config_settings_module_account_asset -msgid "Assets management & Revenue recognition" +msgid "Assets management" msgstr "" #. module: account diff --git a/addons/account/models/res_config.py b/addons/account/models/res_config.py index e7a06af17b9..893ed5ede7b 100644 --- a/addons/account/models/res_config.py +++ b/addons/account/models/res_config.py @@ -82,11 +82,9 @@ class AccountConfigSettings(models.TransientModel): currency_exchange_journal_id = fields.Many2one('account.journal', related='company_id.currency_exchange_journal_id', string="Rate Difference Journal",) - module_account_asset = fields.Boolean(string='Assets management & Revenue recognition', + module_account_asset = fields.Boolean(string='Assets management', help='Asset management: This allows you to manage the assets owned by a company or a person. ' 'It keeps track of the depreciation occurred on those assets, and creates account move for those depreciation lines.\n\n' - 'Revenue recognition: This allows you to manage the Revenue recognition on selling product. ' - 'It keeps track of the installment occurred on those revenue recognition, and creates account move for those installment lines.\n' '-This installs the module account_asset. If you do not check this box, you will be able to do invoicing & payments, ' 'but not accounting (Journal Items, Chart of Accounts, ...)') module_account_budget = fields.Boolean(string='Budget management',