Skip to Content
Menú
This question has been flagged
4048 Vistes

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de juny 24
1706
1
de des. 23
1412
1
d’abr. 23
1582
1
de març 23
2416
0
de des. 22
2009