[18.0] endpoint: fix lambda#132
Open
ivantodorovich wants to merge 1 commit into
Open
Conversation
Contributor
|
Hi @simahawk, |
Author
2026-05-19 18:58:02,544 316 ERROR odoo odoo.addons.endpoint.tests.test_endpoint: FAIL: TestEndpoint.test_unlink
Traceback (most recent call last):
File "/opt/odoo-venv/bin/coverage", line 6, in <module>
sys.exit(main())
File "/opt/odoo-venv/lib/python3.10/site-packages/coverage/cmdline.py", line 1164, in main
status = CoverageScript().command_line(argv)
File "/opt/odoo-venv/lib/python3.10/site-packages/coverage/cmdline.py", line 853, in command_line
return self.do_run(options, args)
File "/opt/odoo-venv/lib/python3.10/site-packages/coverage/cmdline.py", line 1043, in do_run
runner.run()
File "/opt/odoo-venv/lib/python3.10/site-packages/coverage/execfile.py", line 213, in run
exec(code, main_mod.__dict__)
File "/opt/odoo-venv/bin/odoo", line 8, in <module>
odoo.cli.main()
File "/opt/odoo/odoo/cli/command.py", line 76, in main
o.run(args)
File "/opt/odoo/odoo/cli/server.py", line 182, in run
main(args)
File "/opt/odoo/odoo/cli/server.py", line 175, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "/opt/odoo/odoo/service/server.py", line 1462, in start
rc = server.run(preload, stop)
File "/opt/odoo/odoo/service/server.py", line 627, in run
rc = preload_registries(preload)
File "/opt/odoo/odoo/service/server.py", line 1393, in preload_registries
result = loader.run_suite(post_install_suite, global_report=registry._assertion_report)
File "/opt/odoo/odoo/tests/loader.py", line 118, in run_suite
suite(results)
AssertionError: Found unexpected attributes on endpoint.endpoint: _endpoint_route_prefix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport from the 19.0 migration