Odoo Help


a field dependent on another field

layal abishalhla
on 2/22/14, 11:02 AM 1,240 views

hope some one could help me out here. Well, my question is in my module when I click on department, I should be able to choose a doctor from the doctors based on that department.

André Schenkels
On 2/23/14, 4:51 PM

This can easily be done.

You shold have a look at the standard sale module.

After choosing a customer you should be able to choose different delivery and invoice addresses related to the client. This is done with on_change and domain related functionality.

look at the sale.py file and the sale_view.xml file to find your answer.

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: 2/22/14, 11:02 AM
Seen: 1240 times
Last updated: 3/16/15, 8:10 AM