Merge pull request #585 from expsa/dev_odex25_mobile

[FIX] odex_mobile: remove Database name should be specified in Conf File
This commit is contained in:
AbuzarExp 2024-08-07 16:46:23 +03:00 committed by GitHub
commit c1e959debe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 8 deletions

View File

@ -3,11 +3,8 @@ from odoo.http import request
class TermsController(http.Controller):
@http.route(
[
"/rest_api/web/odexss/terms",
"/web/odexss/terms",
],
@http.route(["/rest_api/odexss/terms", "/web/odexss/terms", "/rest_api/myodex/terms", "/web/myodex/terms", ],
type="http",
auth="none",
csrf=False,
@ -17,9 +14,7 @@ class TermsController(http.Controller):
def terms_of_user(self, **kw):
return http.request.render("odex_mobile.terms_of_use", {})
@http.route([
"/rest_api/web/odexss/privacy",
"/web/odexss/privacy", ],
@http.route(["/rest_api/odexss/privacy", "/web/odexss/privacy", "/web/myodex/privacy", "/rest_api/myodex/privacy", ],
type="http",
auth="none",
csrf=False,