[MIG] mis_template_financial_report: Migration to 17.0

This commit is contained in:
Yannis Burkhalter
2024-10-06 20:54:34 +02:00
committed by Geraldo Lopez
parent 25c27371e5
commit c57a76b425
3 changed files with 4 additions and 7 deletions

View File

@@ -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",

View File

@@ -1,10 +1,10 @@
# Copyright 2020 Hunki Enterprises BV
# Copyright 2021 Opener B.V. <stefan@opener.am>
# 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(
{

View File

@@ -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>