Skip to Content
Menu
This question has been flagged
4081 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 24
1767
1
gruod. 23
1495
1
bal. 23
1616
1
kov. 23
2479
0
gruod. 22
2042