Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4980 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 25
874
0
maj 19
3129
3
kwi 19
6607
2
mar 15
8773
4
mar 24
11144