account_financial_report: add option to hide parent hierarchy levels
parent
64de6be2aa
commit
0da41063b2
|
@ -50,6 +50,11 @@ currency balances are not available.
|
|||
Changelog
|
||||
=========
|
||||
|
||||
11.0.2.5.0 (2019-04-26)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* In the Trial Balance you have an option to hide parent hierarchy levels
|
||||
|
||||
11.0.2.4.1 (2019-01-08)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
'name': 'Account Financial Reports',
|
||||
'version': '11.0.2.4.3',
|
||||
'version': '11.0.2.5.0',
|
||||
'category': 'Reporting',
|
||||
'summary': 'OCA Financial Reports',
|
||||
'author': 'Camptocamp SA,'
|
||||
|
|
|
@ -869,6 +869,12 @@ msgstr ""
|
|||
msgid "Display foreign currency for move lines, unless account currency is not setup through chart of accounts will display initial and final balance in that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2157,7 +2163,7 @@ msgid "The Company in the General Ledger Report Wizard and in Date Range must be
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid "The Company in the Trial Balance Report Wizard and in Date Range must be the same."
|
||||
msgstr ""
|
||||
|
@ -2169,7 +2175,7 @@ msgid "The Company in the Vat Report Wizard and in Date Range must be the same."
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -883,6 +883,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2195,7 +2201,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2210,7 +2216,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -887,6 +887,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2188,7 +2194,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2203,7 +2209,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -903,6 +903,12 @@ msgstr ""
|
|||
"Währung über einen konfigurierten Kontenplan spezifiziert wurde, werden die "
|
||||
"Anfangs- und Endsalden in dieser Währung angezeigt."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2222,7 +2228,7 @@ msgstr ""
|
|||
"identisch sein."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2241,7 +2247,7 @@ msgstr ""
|
|||
"Unternehmen identisch sein."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr "Die ausgewählte Ebenenanzahl sollte >0 sein."
|
||||
|
|
|
@ -898,6 +898,12 @@ msgstr ""
|
|||
"moneda de la cuenta no esté configurada a través del plan de cuentas "
|
||||
"mostrará el saldo inicial y final en esa moneda."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2209,7 +2215,7 @@ msgstr ""
|
|||
"fechas debe ser la misma."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2228,7 +2234,7 @@ msgstr ""
|
|||
"ser la misma."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr "El nivel de jerarquía a filtrar debe ser mayor que 0."
|
||||
|
|
|
@ -889,6 +889,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2191,7 +2197,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2206,7 +2212,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -891,6 +891,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2193,7 +2199,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2208,7 +2214,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -888,6 +888,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2200,7 +2206,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2215,7 +2221,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -901,6 +901,12 @@ msgstr ""
|
|||
"ingesteld via het rekeningschema, wordt het begin- en eindsaldo in die "
|
||||
"valuta weergegeven."
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2228,7 +2234,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2243,7 +2249,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -890,6 +890,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2190,7 +2196,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2205,7 +2211,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -889,6 +889,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2191,7 +2197,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2206,7 +2212,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -895,6 +895,12 @@ msgid ""
|
|||
"that currency."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_report_trial_balance_hide_parent_hierarchy_level
|
||||
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard_hide_parent_hierarchy_level
|
||||
msgid "Do not display parent levels"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
||||
#: model:ir.ui.view,arch_db:account_financial_report.report_open_items_lines
|
||||
|
@ -2207,7 +2213,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:163
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
|
||||
|
@ -2222,7 +2228,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:91
|
||||
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:93
|
||||
#, python-format
|
||||
msgid "The hierarchy level to filter on must be greater than 0."
|
||||
msgstr ""
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
11.0.2.5.0 (2019-04-26)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* In the Trial Balance you have an option to hide parent hierarchy levels
|
||||
|
||||
11.0.2.4.1 (2019-01-08)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -48,6 +48,8 @@ class TrialBalanceReport(models.TransientModel):
|
|||
limit_hierarchy_level = fields.Boolean('Limit hierarchy levels')
|
||||
show_hierarchy_level = fields.Integer('Hierarchy Levels to display',
|
||||
default=1)
|
||||
hide_parent_hierarchy_level = fields.Boolean(
|
||||
'Do not display parent levels', default=False)
|
||||
# General Ledger Report Data fields,
|
||||
# used as base for compute the data reports
|
||||
general_ledger_id = fields.Many2one(
|
||||
|
@ -136,9 +138,16 @@ class TrialBalanceReportAccount(models.TransientModel):
|
|||
and float_is_zero(rec.debit, precision_rounding=r)
|
||||
and float_is_zero(rec.credit, precision_rounding=r)):
|
||||
rec.hide_line = True
|
||||
elif report.limit_hierarchy_level and \
|
||||
rec.level > report.show_hierarchy_level:
|
||||
rec.hide_line = True
|
||||
elif report.limit_hierarchy_level and report.show_hierarchy_level:
|
||||
if report.hide_parent_hierarchy_level:
|
||||
distinct_level = rec.level != report.show_hierarchy_level
|
||||
if rec.account_group_id and distinct_level:
|
||||
rec.hide_line = True
|
||||
elif rec.level and distinct_level:
|
||||
rec.hide_line = True
|
||||
elif not report.hide_parent_hierarchy_level and \
|
||||
rec.level > report.show_hierarchy_level:
|
||||
rec.hide_line = True
|
||||
|
||||
|
||||
class TrialBalanceReportPartner(models.TransientModel):
|
||||
|
|
|
@ -386,32 +386,39 @@ currency balances are not available.</p>
|
|||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#changelog" id="id3">Changelog</a><ul>
|
||||
<li><a class="reference internal" href="#id1" id="id4">11.0.2.4.1 (2019-01-08)</a></li>
|
||||
<li><a class="reference internal" href="#id2" id="id5">11.0.2.3.1 (2018-11-29)</a></li>
|
||||
<li><a class="reference internal" href="#changelog" id="id4">Changelog</a><ul>
|
||||
<li><a class="reference internal" href="#id1" id="id5">11.0.2.5.0 (2019-04-26)</a></li>
|
||||
<li><a class="reference internal" href="#id2" id="id6">11.0.2.4.1 (2019-01-08)</a></li>
|
||||
<li><a class="reference internal" href="#id3" id="id7">11.0.2.3.1 (2018-11-29)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id8">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id9">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id10">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id11">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id12">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="changelog">
|
||||
<h1><a class="toc-backref" href="#id3">Changelog</a></h1>
|
||||
<h1><a class="toc-backref" href="#id4">Changelog</a></h1>
|
||||
<div class="section" id="id1">
|
||||
<h2><a class="toc-backref" href="#id4">11.0.2.4.1 (2019-01-08)</a></h2>
|
||||
<h2><a class="toc-backref" href="#id5">11.0.2.5.0 (2019-04-26)</a></h2>
|
||||
<ul class="simple">
|
||||
<li>In the Trial Balance you have an option to hide parent hierarchy levels</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="id2">
|
||||
<h2><a class="toc-backref" href="#id6">11.0.2.4.1 (2019-01-08)</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Handle better multicompany behaviour</li>
|
||||
<li>Improve how title appears in the reports</li>
|
||||
<li>Improve performance in General Ledger</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="id2">
|
||||
<h2><a class="toc-backref" href="#id5">11.0.2.3.1 (2018-11-29)</a></h2>
|
||||
<div class="section" id="id3">
|
||||
<h2><a class="toc-backref" href="#id7">11.0.2.3.1 (2018-11-29)</a></h2>
|
||||
<ul class="simple">
|
||||
<li>In the Trial Balance you can apply a filter by hierarchy levels</li>
|
||||
<li>In the General Ledger you can apply a filter by Analytic Tag</li>
|
||||
|
@ -420,7 +427,7 @@ currency balances are not available.</p>
|
|||
</div>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#id6">Bug Tracker</a></h1>
|
||||
<h1><a class="toc-backref" href="#id8">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
|
@ -428,9 +435,9 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#id7">Credits</a></h1>
|
||||
<h1><a class="toc-backref" href="#id9">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
|
||||
<h2><a class="toc-backref" href="#id10">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Camptocamp SA</li>
|
||||
<li>initOS GmbH</li>
|
||||
|
@ -439,7 +446,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#id9">Contributors</a></h2>
|
||||
<h2><a class="toc-backref" href="#id11">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Jordi Ballester <<a class="reference external" href="mailto:jordi.ballester@eficient.com">jordi.ballester@eficient.com</a>></li>
|
||||
<li>Yannick Vaucher <<a class="reference external" href="mailto:yannick.vaucher@camptocamp.com">yannick.vaucher@camptocamp.com</a>></li>
|
||||
|
@ -463,7 +470,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
April 2016.</p>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#id10">Maintainers</a></h2>
|
||||
<h2><a class="toc-backref" href="#id12">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
|
|
|
@ -50,6 +50,8 @@ class TrialBalanceReportWizard(models.TransientModel):
|
|||
limit_hierarchy_level = fields.Boolean('Limit hierarchy levels')
|
||||
show_hierarchy_level = fields.Integer('Hierarchy Levels to display',
|
||||
default=1)
|
||||
hide_parent_hierarchy_level = fields.Boolean(
|
||||
'Do not display parent levels', default=False)
|
||||
account_ids = fields.Many2many(
|
||||
comodel_name='account.account',
|
||||
string='Filter accounts',
|
||||
|
@ -230,6 +232,7 @@ class TrialBalanceReportWizard(models.TransientModel):
|
|||
'hierarchy_on': self.hierarchy_on,
|
||||
'limit_hierarchy_level': self.limit_hierarchy_level,
|
||||
'show_hierarchy_level': self.show_hierarchy_level,
|
||||
'hide_parent_hierarchy_level': self.hide_parent_hierarchy_level,
|
||||
'show_partner_details': self.show_partner_details,
|
||||
}
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<field name="hierarchy_on" widget="radio" attrs="{'invisible':[('show_partner_details','=',True)]}"/>
|
||||
<field name="limit_hierarchy_level" attrs="{'invisible':['|', ('hierarchy_on','=','none'),('show_partner_details','=',True)]}"/>
|
||||
<field name="show_hierarchy_level" attrs="{'invisible':[('limit_hierarchy_level','=', False)]}"/>
|
||||
<field name="hide_parent_hierarchy_level" attrs="{'invisible':[('limit_hierarchy_level','=', False)]}"/>
|
||||
<field name="foreign_currency"/>
|
||||
</group>
|
||||
</group>
|
||||
|
|
Loading…
Reference in New Issue