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.

4

How to remove delete icon in one2many tree view [Closed]

By
priyankahdp
on 4/18/13, 4:15 AM 5,451 views

The Question has been closed

by
Sudhir Arya (SA)
on 04/18/2013 04:53:55

Please advice me on this.need to remove delete icon.but need to create and edit records. if i set it as readonly then unable to edit also.so what is the better way to implement this

delete icon

3

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10150
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

Sudhir Arya (SA)
On 4/18/13, 4:22 AM

Add delete="false" in tree tag.

<tree string="My Tree" delete="false">

This will remove delete option from one2many tree view.

śukriyā its worked :-)

priyankahdp
on 4/18/13, 4:36 AM

he he. . . my pleasure. :)

Sudhir Arya (SA)
on 4/18/13, 4:38 AM

Hi, Is this possible in many2many tree view ? I used the below syntax in many2many tree view but the delete option is visible. <tree string = "Dep Indent" editable="bottom" delete="false"> Kindly share your idea about this..Thanks

sengottuvel
on 12/3/13, 6:13 AM
0
sengottuvel
On 7/12/14, 1:12 AM

Thanks its worked me too in one2many tree view....

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 4/18/13, 4:15 AM
Seen: 5451 times
Last updated: 3/16/15, 8:10 AM