Odoo Help


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.


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

on 2/14/16, 9:43 AM 308 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?

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)


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