summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoaman <nby@odoo.com>2019-06-11 12:21:40 +0000
committerCedric Snauwaert <csn@openerp.com>2019-08-08 08:21:10 +0000
commit0eb0bede2014ae1fc24b99a1d1ae541a9d17bdb9 (patch)
tree26b24f3cd2458956d300a0eb8b1588d8695a04f0
parent9819d206887d279dc5e3542ffafcd62e06d69560 (diff)
[IMP] account: auto install account_asset
Remove the settings that would previously install the account_asset and account_deferred_revenue as they become automatically installed. opw-2006605 closes odoo/odoo#35380 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
-rw-r--r--addons/account/models/res_config_settings.py2
-rw-r--r--addons/account/views/res_config_settings_views.xml25
2 files changed, 0 insertions, 27 deletions
diff --git a/addons/account/models/res_config_settings.py b/addons/account/models/res_config_settings.py
index b1ed81ecff8..35d3c83a1b1 100644
--- a/addons/account/models/res_config_settings.py
+++ b/addons/account/models/res_config_settings.py
@@ -48,8 +48,6 @@ class ResConfigSettings(models.TransientModel):
('tax_included', 'Tax-Included')], string="Line Subtotals Tax Display",
required=True, default='tax_excluded',
config_parameter='account.show_line_subtotals_tax_selection')
- module_account_asset = fields.Boolean(string='Assets Management')
- module_account_deferred_revenue = fields.Boolean(string="Revenue Recognition")
module_account_budget = fields.Boolean(string='Budget Management')
module_account_payment = fields.Boolean(string='Invoice Online Payment')
module_account_reports = fields.Boolean("Dynamic Reports")
diff --git a/addons/account/views/res_config_settings_views.xml b/addons/account/views/res_config_settings_views.xml
index f557e54b64d..e6410dfcc68 100644
--- a/addons/account/views/res_config_settings_views.xml
+++ b/addons/account/views/res_config_settings_views.xml
@@ -492,31 +492,6 @@
</div>
</div>
</t>
- <h2 groups="account.group_account_user">Automated Entries</h2>
- <div class="row mt16 o_settings_container" id="recommended_apps" groups="account.group_account_user">
- <div class="col-12 col-lg-6 o_setting_box" id="asset_types" title="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.">
- <div class="o_setting_left_pane">
- <field name="module_account_asset" widget="upgrade_boolean"/>
- </div>
- <div class="o_setting_right_pane" id="account_asset">
- <label for="module_account_asset"/>
- <div class="text-muted">
- Use depreciation boards, automate amortization entries
- </div>
- </div>
- </div>
- <div class="col-12 col-lg-6 o_setting_box" title="This allows you to manage the revenue recognition on selling products. It keeps track of the installments occurred on those revenue recognitions, and creates account moves for those installment lines.">
- <div class="o_setting_left_pane">
- <field name="module_account_deferred_revenue" widget="upgrade_boolean"/>
- </div>
- <div class="o_setting_right_pane" id="automate_deferred_revenues">
- <label for="module_account_deferred_revenue" string="Deferred Revenues Management"/>
- <div class="text-muted">
- Automate deferred revenues entries for multi-year contracts
- </div>
- </div>
- </div>
- </div>
<h2>Analytics</h2>
<div class="row mt16 o_settings_container" id="analytic">
<div class="col-12 col-lg-6 o_setting_box" title="Allows you to use the analytic accounting." groups="account.group_account_user">