Odoo Help

0

Add attrs using relation field

By
emonrockz
on 10/22/14, 6:19 AM 779 views

Hi,

I am having two classes (say class1, class2). In class 1, I am having two fields (say cf1, name) in which cf1 is a check box and name is a textbox. In class2, I am having two fields (say cf12, cf22) in which cf12 is a many2one field in relation with class1. I will be getting all the name values from class1  in the drop down of cf12. I need to make cf22 visible if I select one value in cf12 and whose cf1 value is checked (cf1 = True for that particular cf12 value.).

That means I have to compare with cf1 value of the selected item in cf12 and make cf22 visible/invisible.

Please help me with a solution.

 

Regards,

Emon

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.

Register

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)

Stats

Asked: 10/22/14, 6:19 AM
Seen: 779 times
Last updated: 3/16/15, 8:10 AM