跳至内容
菜单
此问题已终结
2 回复
5028 查看

How can I disable states for certain countries in the shop in V12

形象
丢弃
最佳答案

Hi JPK,

By default a state is mapped to a country in Odoo. As there is no option to archive states  there is only one way to do this by default and that is by deleting the state(s). This means it will also be unavailable through the backend of Odoo though. If you do not want it to show up in the shop you'll need to do custom development to either remove the states field (conditionally) or by adding a field on the state that defines if a state can be shown or not in the shop.


Regards,

Yenthe

形象
丢弃
编写者 最佳答案

Hi Yenthe, 

Thank you. It was solved, I had to remove/change all contacts with these states, then I could remove the states. 

BR, 

Johan 

形象
丢弃
相关帖文 回复 查看 活动
2
1月 25
921
0
5月 19
3173
3
4月 19
6683
2
3月 15
8856
4
3月 24
11178