Closed NICO-SOLUTIONS closed 5 days ago
/ocabot migration website_require_login
/ocabot migration website_require_login
I installed and tested the module, it seems to work well apart from this error in the logs, after installation
2022-05-31 10:14:14,119 2368 INFO erp odoo.modules.registry: module website_require_login: creating or updating database tables
2022-05-31 10:14:14,144 2368 WARNING erp py.warnings: /opt/odoo/odoo/odoo/addons/base/models/ir_module.py:170: DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17, website_require_login can just have a UTF8 description with not need for a declaration.
File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(self._args, self._kwargs)
File "/usr/lib/python3.11/socketserver.py", line 691, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.11/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.11/socketserver.py", line 755, in init
self.handle()
File "/opt/odoo/odoo-venv/lib/python3.11/site-packages/werkzeug/serving.py", line 342, in handle
BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python3.11/http/server.py", line 432, in handle
self.handle_one_request()
File "/opt/odoo/odoo-venv/lib/python3.11/site-packages/werkzeug/serving.py", line 374, in handle_one_request
self.run_wsgi()
File "/opt/odoo/odoo-venv/lib/python3.11/site-packages/werkzeug/serving.py", line 319, in run_wsgi
execute(self.server.app)
File "/opt/odoo/odoo-venv/lib/python3.11/site-packages/werkzeug/serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "/opt/odoo/odoo/odoo/http.py", line 2150, in call
response = request._serve_db()
File "/opt/odoo/odoo/odoo/http.py", line 1722, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/odoo/http.py", line 1749, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/odoo/http.py", line 1953, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/odoo-custom-addons/apps/website_require_login/models/ir_http.py", line 17, in _dispatch
return super()._dispatch(endpoint)
File "/opt/odoo/odoo/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(request.params)
File "/opt/odoo/odoo/odoo/http.py", line 722, in route_wrapper
result = endpoint(self, args, params_ok)
File "/opt/odoo/odoo/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 466, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, *kwargs)
File "
This is a warning that the index file has encoding defined which is deprecated for odoo17. This will be fixed by pre commit when the dotfiles are updated.
Is this branch to be merged or are there still some problems?
@SonoDavid put your review in this pull request to favor the merge.
https://odoo-community.org/resources/review https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#review
Functional review LGTM
@SonoDavid reviews comment can be done in the files changes tab, it tags your comment as review and ease the count of the reviews to validate PRs.
With your PR we have the 2 necessary reviews, I will merge it now.
/ocabot merge nobump
On my way to merge this fine PR! Prepared branch 17.0-ocabot-merge-pr-1019-by-yvaucher-bump-nobump, awaiting test results.
Congratulations, your PR was merged at 1b9217079d9f0fa59e5ed2398dc089aeb68fbcb8. Thanks a lot for contributing to OCA. ❤️
things are moving forward... thanks @yvaucher
Standard Migration