Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4070 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jun. 24
1757
1
dec. 23
1483
1
apr. 23
1606
1
mar. 23
2468
0
dec. 22
2036