Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4975 Vistas

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

Avatar
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 25
874
0
may 19
3128
3
abr 19
6605
2
mar 15
8771
4
mar 24
11144