Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
To pytanie zostało zamknięte z powodu: zduplikuj post
przez Niyas Raphy (Walnut Software Solutions) na 02.10.2024 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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
811
1
cze 18
3390
2
maj 25
9714
3
mar 24
5358
1
sty 23
2086