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

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

By
Anne-Sylvie Burri
on 6/11/13, 12:18 PM 912 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.

JMB

0

Davide Corio

--Davide Corio--
1822
| 4 3 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:

https://doc.openerp.com/trunk/server/03_module_dev_02/#functional-fields

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

0 follower(s)

Stats

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