Skip to Content
Menu
This question has been flagged
2 Replies
3820 Views

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

Avatar
Discard
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
Discard
Author 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
Discard
Related Posts Replies Views Activity
0
May 19
2340
3
Apr 19
5143
2
Mar 15
7528
4
Mar 24
9860
0
Mar 15
4556