Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Not open tree item on click them in a tree list

By
José
on 10/4/16, 2:06 PM 174 views

Hello, I have Odoo 9 CE.

I want to prevent opening elements when I click in an item of the tree view. I try to put editable="bottom" but not works, when I click on a order line element it opens all data of ther order line. I want to can't click on the element.

The purchase_order_form in where this tree view is contained is readonly, so i set create="false" edit="false" delete="false"


<tree string="Purchase Order Lines" editable="bottom">                                    
<field name="product_id" context="{'partner_id': parent.partner_id}"/>                                   
<field name="name"/>                                   
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>                                   
<field name="product_qty"/>                                   
<field name="qty_received" invisible="not context.get('show_purchase', False)"/>                                   
<field name="product_uom" groups="product.group_uom"/>                               
</tree>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/4/16, 2:06 PM
Seen: 174 times
Last updated: 10/4/16, 2:06 PM