콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1510 화면

Hi everyone,

I'm trying to remove the Zip Code field from the checkout form on my Odoo website. I've already tried hiding the field using the website editor, but I still can't submit the form without filling in the zip code. It seems like the field is being treated as mandatory, although it's not required in the database (I've checked in res.partner).

Unfortunately, I don't have access to the backend controllers or the Odoo file system, so I'm unable to override the controller or make deeper customizations directly in Python. Is there a way to fully remove or disable the Zip Code field from the checkout form without access to the controllers? Any suggestions for bypassing this validation through the frontend or using other tools available in the Odoo interface would be greatly appreciated.

Thanks in advance for your help!

아바타
취소
베스트 답변

Hi,
You can hide the field with a default value, lets say an empty space as the default value for the field, which you can set from the xml itself and do the hack.

Thanks

아바타
취소
베스트 답변

It is not required to create a res.partner record but is required to create a sale.order record with a delivery address.

You can't bypass it without writing code - and that code would need to deal with all other other places we expect a zipcode / postcode for the delivery of a purchase someone made online.

아바타
취소
관련 게시물 답글 화면 활동
1
11월 19
4971
2
11월 18
5187
1
12월 16
7866
1
10월 23
7692
2
9월 20
5414