Skip to content

Commit

Permalink
[MIG] mis_template_financial_report: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BurkhalterY committed Oct 6, 2024
1 parent a67d7bc commit d4f77e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mis_template_financial_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Profit & Loss / Balance sheet MIS templates",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Hunki Enterprises BV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-reporting",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 2020 Hunki Enterprises BV
# Copyright 2021 Opener B.V. <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo.addons.mis_builder.tests.test_mis_report_instance import TestMisReportInstance
from odoo.tests.common import TransactionCase


class TestMisTemplateFinancialReport(TestMisReportInstance):
class TestMisTemplateFinancialReport(TransactionCase):
def test_mis_template_financial_report(self):
instance = self.env["mis.report.instance"].create(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
<field name="arch" type="xml">
<group name="layout" position="inside">
<field name="allow_horizontal" invisible="1" />
<field
name="horizontal"
attrs="{'invisible': [('allow_horizontal', '=', False)]}"
/>
<field name="horizontal" invisible="not allow_horizontal" />
</group>
</field>
</record>
Expand Down

0 comments on commit d4f77e9

Please sign in to comment.