Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4050 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 24
1706
1
pro 23
1412
1
dub 23
1582
1
bře 23
2419
0
pro 22
2017