Odoo Help


How to get a pre-created record/value in many2one field

on 2/14/16, 9:43 AM 693 views


How can I select/get a pre created record/value in many2one field

for example: the holidays_status_id in hr_holidays module is a many2one field and it has already 4 values of

  1. Legal Leaves 

  2. Sick Leaves

  3. Compensatory Days

  4. Unpaid

what I need to do is dynamically select the legal leaves and customize it in another module.

How can I do it?

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

1 follower(s)


Asked: 2/14/16, 9:43 AM
Seen: 693 times
Last updated: 2/14/16, 9:58 AM