If view_type==tree, reports are not available

Bug #652892 reported by Dukai Gábor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
New
Undecided
Unassigned

Bug Description

Hi!
The right toolbar and the report menu options aren't available if the view_type==tree. This is a problem for example with the Chart of Accounts wizard, because it opens this action:

        <record id="action_account_tree" model="ir.actions.act_window">
            <field name="name">Chart of Accounts</field>
            <field name="res_model">account.account</field>
            <field name="view_type">tree</field>
            <field name="view_id" ref="view_account_tree"/>
            <field name="domain">[('parent_id','=',False)]</field>
        </record>

and for this view the Account Balance and General Ledger reports should be available as they are in the other clients.

Thank you in advance.

Revision history for this message
Dukai Gábor (gdukai) wrote :

If I understand it correctly, this functionality is not implemented yet.
The formcontainer.ui has a Screen widget that calls the toolbar setup code but tree views have only basic Qt widgets.
Maybe a separate tree view is needed that could set up a Screen widget?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.