diff --git a/call_for_price_website/controllers/call_for_price_website.py b/call_for_price_website/controllers/call_for_price_website.py index db8fa38a0..ef168be9f 100644 --- a/call_for_price_website/controllers/call_for_price_website.py +++ b/call_for_price_website/controllers/call_for_price_website.py @@ -24,7 +24,8 @@ from odoo.http import request class WebsiteForm(http.Controller): - @http.route(['/call_for_price/submit'], type='http',csrf=False, auth="user", website=True ,methods=['POST']) + @http.route(['/call_for_price/submit'], type='http', csrf=False, + auth="public", website=True, methods=['POST']) def call_for_price(self, **post): """Function for store the call for price queries to backend""" record = request.env['call.price'].sudo().create(post) diff --git a/call_for_price_website/doc/RELEASE_NOTES.md b/call_for_price_website/doc/RELEASE_NOTES.md index 3cb7d4e53..a965ae2df 100644 --- a/call_for_price_website/doc/RELEASE_NOTES.md +++ b/call_for_price_website/doc/RELEASE_NOTES.md @@ -1,6 +1,6 @@ ## Module -#### 17.02.2024 +#### 23.07.2024 #### Version 17.0.1.0.0 #### ADD diff --git a/call_for_price_website/views/call_for_price_views.xml b/call_for_price_website/views/call_for_price_views.xml index 84139c56f..8dd9ee2a6 100644 --- a/call_for_price_website/views/call_for_price_views.xml +++ b/call_for_price_website/views/call_for_price_views.xml @@ -22,8 +22,8 @@