From 7154d644a4c248d86f708010a8194c0268e6a5b1 Mon Sep 17 00:00:00 2001 From: RisvanaCybro Date: Tue, 23 Jul 2024 13:38:49 +0530 Subject: [PATCH] July 23: [FIX] Bug Fixed 'call_for_price_website' --- call_for_price_website/controllers/call_for_price_website.py | 3 ++- call_for_price_website/doc/RELEASE_NOTES.md | 2 +- call_for_price_website/views/call_for_price_views.xml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) 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 @@