button don't wotk on tree view with field_parent

Bug #1200756 reported by Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

I have a button on tree view with field_parent but when the view loads shows me the following error:

Uncaught Error: QWeb2 - template['TreeView']: Runtime Error: TypeError: Cannot read property 'tree_invisible' of undefined

Tags: maintenance
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Jose,

I am not able to getting this issue with this enough information, would you please provide your source code?

Thanks & waiting for you answer.

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Edison Ibañez (arkhan-xxx) wrote :

I have the same error, but all I did was add a button to a tree view
this is the code of the view:

<record id="lqp_purchase_order_pending_tree" model="ir.ui.view">
   <field name="name">lqp.purchase.order.pending.tree</field>
   <field name="model">sale.order.line</field>
   <field name="arch" type="xml">
    <tree string="Pendientes" editable="top">
     <field name="order_id" />
     <field name="product_id" />
     <field name="name" />
     <button string="Confirm" icon="gtk-redo" name="action_generate_purchase_order" type="object"/>
    </tree>
   </field>
        </record>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Web because there has been no activity for 60 days.]

Changed in openerp-web:
status: Incomplete → Expired
Changed in openerp-web:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
status: Expired → New
tags: added: maintenance
Revision history for this message
Hans Yonathan (hans-yonathan) wrote :

I have this issue too.
Try too add a button on bom structure view, it will have an error like that

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.