Odoo Help


all the employee name should automatically come to my field

on 5/9/13, 7:08 AM 1,104 views

I have table fields are Employee Name, Target, duration.. in that table all the employee name(the person who is from sale department) from the he.employee table should automatically come to my field Employee name how to do that advance thanks....


Naresh Soni (nch)

--Naresh Soni (nch)--
--Naresh Soni (nch)--

Team Lead, Odoo(Formerly OpenERP) Support & OPW

Naresh Soni (nch)
On 5/10/13, 7:24 AM

Hello Gpkarthick,

First of all define this Employee name field as a dynamic selection field eg:

employee_names:fields.selection(get_employees,'Employee Name)

Create this get_employees function which fetches from the hr.employee table those employee's that belong to sales department and finally return [(id1,name1),(id2,name2)]


explain breafly plz

on 5/10/13, 8:19 AM

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: 5/9/13, 7:08 AM
Seen: 1104 times
Last updated: 3/16/15, 8:10 AM