Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
5357 Weergaven

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 25
1157
0
mei 19
3328
3
apr. 19
7058
2
mrt. 15
9237
4
mrt. 24
11486