[MIG] mis_template_financial_report: Migration to 17.0
This commit is contained in:
committed by
Geraldo Lopez
parent
25c27371e5
commit
c57a76b425
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Profit & Loss / Balance sheet MIS templates",
|
"name": "Profit & Loss / Balance sheet MIS templates",
|
||||||
"version": "16.0.1.0.0",
|
"version": "17.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Hunki Enterprises BV,Odoo Community Association (OCA)",
|
"author": "Hunki Enterprises BV,Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/account-financial-reporting",
|
"website": "https://github.com/OCA/account-financial-reporting",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Copyright 2020 Hunki Enterprises BV
|
# Copyright 2020 Hunki Enterprises BV
|
||||||
# Copyright 2021 Opener B.V. <stefan@opener.am>
|
# Copyright 2021 Opener B.V. <stefan@opener.am>
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
# 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):
|
def test_mis_template_financial_report(self):
|
||||||
instance = self.env["mis.report.instance"].create(
|
instance = self.env["mis.report.instance"].create(
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,10 +7,7 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<group name="layout" position="inside">
|
<group name="layout" position="inside">
|
||||||
<field name="allow_horizontal" invisible="1" />
|
<field name="allow_horizontal" invisible="1" />
|
||||||
<field
|
<field name="horizontal" invisible="not allow_horizontal" />
|
||||||
name="horizontal"
|
|
||||||
attrs="{'invisible': [('allow_horizontal', '=', False)]}"
|
|
||||||
/>
|
|
||||||
</group>
|
</group>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user