Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
5022 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
ian. 25
916
0
mai 19
3171
3
apr. 19
6681
2
mar. 15
8848
4
mar. 24
11170