Odoo Help

0
1 Answer
1
Avatar

Jusab Sida (jsi)

--Jusab Sida (jsi)--
1241
| 2 2 5
Gandhinagar, India
--Jusab Sida (jsi)--


Jusab Sida (jsi)
6/1/17, 7:08 AM

Hello  Tai Le Thanh,

In your on_change "onchange_sinhvien_lop" just change vals.lop to vals.lop.id


return {'value': {'lop': vals.lop.id}}

Thanks,

1 Comment
Tai Le Thanh
6/1/17, 10:15 AM

thank you. This problem waste my whole evening

Ask a Question
Writer
Keep Informed
1 follower(s)
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