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

How to disable create row in tree view?

By
Jesse Rye
on 12/1/16, 4:37 PM 106 views

I have tried  using "<tree string="Tree" create="false" delete="false">" but because I am allowing users to edit a row when editing it if the user hits enter to save  it creates a blank row (as seen in the screen capture below) that wont actually create a new record in the database but does create confusion for the end user. Is there anyway to avoid a new row being created when hitting enter in a field that is the last row in the tree view. I thought create="false" would fix the problem but it does not.

 

0
Taher Giyori
On 12/5/16, 4:14 AM

Mark the 'name' field as required.
So that you can't create a new record without filling it.

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: 12/1/16, 4:37 PM
Seen: 106 times
Last updated: 12/5/16, 4:14 AM