コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4044 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
6月 24
1705
1
12月 23
1411
1
4月 23
1581
1
3月 23
2406
0
12月 22
2002