Odoo Help


Possibility to create SQL requests on which one we can base a selection field ?

Anne-Sylvie Burri
on 6/11/13, 12:18 PM 1,429 views

Hi everybody,

Maybe someone could help me.

I'm thinking about the possibility to create SQL requests on which one we can base a selection field ?

For example in a form, to reach specifics contacts of a specific company in a selection field and not all the contacts of the database ?

Many thanks in advance.



Davide Corio

--Davide Corio--

| 5 4 7
Bricherasio, Italy
--Davide Corio--

Odoo Evangelist and Consultant

Davide Corio
On 6/11/13, 1:06 PM

You can use a function field of type selection, then you can compute the values you want to display via the fnct method.

for further informations you can check the official documentation:


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

0 follower(s)


Asked: 6/11/13, 12:18 PM
Seen: 1429 times
Last updated: 3/16/15, 8:10 AM