Odoo Help


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

on 4/18/13, 4:15 AM 8,743 views

The Question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
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


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
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 :-)

on 4/18/13, 4:36 AM

he he. . . my pleasure. :)

Sudhir Arya (ERP Harbor Consulting Services)
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

on 12/3/13, 6:13 AM

Thanks @ Sudhir sir.

It's work for me.

Ankit H Gandhi(AHG)
on 4/18/17, 4:23 AM
On 7/12/14, 1:12 AM

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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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