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

Form to access always same row in the table (SOLVED)

By
Pau Ubach
on 9/19/14, 5:56 AM 730 views

Hi, I want to define some default values used by other tables that can change over time. The user must be able to change these fields.

I have thought about creating a new table in the DB that will only have one row that will change over time, I'm not sure if it's the best way to do it.

Then I would have a menu action to open the form view to can edit these values, but the problem is that I want to open always the same row (id=1), not open the view to create a new one. I don't know how can I set it up, or if this is the best option.

0
Pau Ubach
On 9/22/14, 12:25 AM

I finally found the answer here:

https://www.odoo.com/forum/help-1/question/how-can-i-save-load-my-own-configuration-settings-30123

 

I needed to create a configuration object instead of a normal one.

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: 9/19/14, 5:56 AM
Seen: 730 times
Last updated: 3/16/15, 8:10 AM