Odoo Help


Remove "add an item"

on 5/17/13, 9:43 AM 11,110 views

How do I remove the word "add an item" at the tree!! Thank you

"add an item" use to add the new record. why u want remove the word ?..... or want to change the word?..

on 5/17/13, 9:48 AM

because I already have a list that is automatically generated (by clicking on "compute" button) in this case I don't need to have the word "add an item" in my list ( tree) ...

on 5/17/13, 9:59 AM
Salim Rahal
On 11/14/16, 4:10 PM

thank you guys this one works for me: <tree string="my Tree" create="false">


Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 5/17/13, 11:00 AM


To remove add an item in tree view i think it is your one2many field make it readonly=1 using that you can't see Add an Item in tree view.

For Example Like this in Sale Order for order_line o2m field.

<field name="order_line" readonly="1">


Serpent Consulting Services Pvt. Ltd.

Thank you for your reply ! it's very effective... Thanks

on 5/17/13, 12:03 PM

I have a similiar problem. But i need the user to be able to edit the exisitng records. (But dont be able to add new records to the field). How is this done? readonly="1" wont work..

René Schuster
on 12/2/13, 4:40 AM

@Rene Schuster, is the issue solved? I also have similar problem in which I need to make changes but not delete or create

Should I use security or is there any method to do?

Atchuthan - Technical Consultant, Sodexis Inc
on 12/11/13, 2:07 AM

Yes, i've found a solution: <tree string="my Tree" create="false" editable="bottom"> This is also available for delete="false", edit="false" and for the <form> tag.

René Schuster
on 12/11/13, 3:29 PM

@Rene Schuster, Thanks its working

Atchuthan - Technical Consultant, Sodexis Inc
on 12/12/13, 4:03 AM

hi., i have to place the "Add an item" button always be in the top of the list .,How can be make this.? by giving this <tree string="my Tree"editable="top"> placed the last added thing in the top of the record.

on 12/19/13, 4:36 AM

René Schuster, I think you should add your comment as an answer, I imagine a lot of people have found themselves in your situation where they want to disable adding new record but not editing existing ones.

MONK Software, Leonardo Donelli
on 11/6/15, 10:26 AM

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: 5/17/13, 9:43 AM
Seen: 11110 times
Last updated: 10/5/17, 7:29 PM