This question has been flagged
2 Replies
8058 Views

i am looking for account financial report hierarchy tree view , but i see the menu does not exist anymore in odoo 11, i tried to recreate with odoo 9 code, but only show  the records as form view , exist any solution for that?

Avatar
Discard
Hi, this is my tree view and window action code for odoo11, but this only show me the form view

<record id="view_account_report_tree_hierarchy2" model="ir.ui.view">
            <field name="name">account.report.hierarchy</field>
            <field name="model">account.financial.report</field>
            <field name="field_parent">children_ids</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="type"/>
                    <field name="parent_id" invisible="1"/>
                    <field name="account_report_id"/>
                </tree>
            </field>
        </record>

        <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
            <field name="name">Hierarchy accounts</field>
            <field name="res_model">account.financial.report</field>
            <field name="view_type">tree</field>
            <field name="view_id" ref="view_account_report_tree_hierarchy2"/>
            <field name="domain">[('parent_id','=',False)]</field>
        </record>

thanks for all

2018-07-06 23:39 GMT-05:00 Emipro Technologies Pvt. Ltd. <info@emiprotechnologies.com>:

Hello Adnier,

Can you please show the code which you have tried.

Thanks,

Hiren Vora,
CEO & Managing Director,
Emipro Technologies Pvt. Ltd, India.
www.emiprotechnologies.com
hiren@emiprotechnologies.com

Sent by Odoo S.A. using Odoo.




--
Saludos cordiales,
Ing. Adnier Roselló Carrazana
Tel: 0979104826

Best Answer

Hello,

Hierarchy tree view removed in Odoo v11.
For more reference, you can read here, https://github.com/odoo/odoo/issues/20659


Avatar
Discard