콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
질문이 마감되었습니다 이유 : 중복 게시물
작성자 Niyas Raphy (Walnut Software Solutions) 있음 2024년 10월 02일 14시 00분 33초

I have my controller code

@http.route('/application/submit', type='http', auth='public', website=True)
def submit_application(self, **vals):
print("***** Application Submitted *****")

I have the XML template with a form in which on submitting the form I need to call the controller function

       






...

​  s_website_form_no_submit_label" data-name="Submit Button">

...

but on clicking the SUBMIT Button the terminal shows error message

2024-10-02 09:57:15,424 35576 INFO test_db_2 werkzeug: 127.0.0.1 - - [02/Oct/2024 09:57:15] "POST /application/submitundefined HTTP/1.1" 404 - 22 0.015 0.132


Is there any other library to be installed to support this? This was working fine with my old system. But it didn't work on the newly configured system. Both device have same community version of Odoo16.

아바타
취소
관련 게시물 답글 화면 활동
0
10월 24
811
1
6월 18
3386
2
5월 25
9714
3
3월 24
5357
1
1월 23
2083