Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5020 Prikazi

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

Avatar
Opusti
Best Answer

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

Avatar
Opusti
Avtor Best Answer

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 

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jan. 25
909
0
maj 19
3167
3
apr. 19
6673
2
mar. 15
8844
4
mar. 24
11169