Odoo Help


12 Answers
Salim Rahal Lebanon
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. India

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

Serpent Consulting Services Pvt. Ltd. is an Official Odoo Partner, working on Odoo ever since 2007, experience of 11+ years and witnessed the growth of Odoo.

We are a team of 80+ experts on various verticals. Our portfolio of products can be seen at http://www.serpentcs.com and http://www.serpentcs.in

Our Expertise and Services:

  • Odoo Support

  • Odoo Development

  • Odoo Training

  • Odoo Migration

  • Odoo Implementation

  • Odoo Consulting

Our 290+ Apps on Appstore : https://apps.odoo.com/apps/modules/browse?author=Serpent Consulting Services Pvt. Ltd.


Serpent Consulting Services Pvt. Ltd. India
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.

myriam Tunisia
5/17/13, 12:03 PM

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

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

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

Atchuthan - Technical Consultant, Sodexis Inc India
12/11/13, 2:07 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?

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

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.

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

@Rene Schuster, Thanks its working

Ashmsh.M India
12/19/13, 4:36 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.

MONK Software, Leonardo Donelli Italy
11/6/15, 10:26 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.

GiusyG Italy
7/16/19, 10:06 AM

Hi, you can use:

<tree no_create_edit="1">
you couldn't create and edit ..
Ask a Question
Keep Informed
1 follower(s)
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