Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4047 Переглядів

please help me in finding solution 

 i have two drop down  in Xml template  (using only controller not model.py )


Note : i am getting countries and states as follows using controller 


country = request.env['res.country'].search([])

state = request.env['res.country.state'].search([])

in first drop down when i  select country  india

then i want to see on states related with india in second drop down field


Thanks in advance

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
черв. 24
1705
1
груд. 23
1411
1
квіт. 23
1582
1
бер. 23
2406
0
груд. 22
2005