跳至內容
選單
此問題已被標幟
4055 瀏覽次數

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
1707
1
12月 23
1414
1
4月 23
1584
1
3月 23
2422
0
12月 22
2022