Skip to content

[19.0][MIG] endpoint_auth_api_key: Migration to 19.0#130

Open
yankinmax wants to merge 24 commits intoOCA:19.0from
camptocamp:19.0-mig-endpoint_auth_api_key
Open

[19.0][MIG] endpoint_auth_api_key: Migration to 19.0#130
yankinmax wants to merge 24 commits intoOCA:19.0from
camptocamp:19.0-mig-endpoint_auth_api_key

Conversation

@yankinmax
Copy link
Copy Markdown

No description provided.

simahawk and others added 22 commits April 1, 2026 16:23
As the mixin can be inherited by many other models w/ their view
an isolated basic view is required to avoid pollution and breakage
of inherited views when extending the views of endpoint.endpoint.

In particular, this solves a conflict that came w/ OCA/web-api-contrib#1
Followup of OCA#56
The view must be registered for the mixin model otherwise it won't be taken into account.
I've probably left this change in a stashed version :(
Currently translated at 100.0% (3 of 3 strings)

Translation: web-api-17.0/web-api-17.0-endpoint_auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/web-api-17-0/web-api-17-0-endpoint_auth_api_key/zh_CN/
@yankinmax yankinmax force-pushed the 19.0-mig-endpoint_auth_api_key branch from 903ed7d to 035cd16 Compare April 1, 2026 13:23
@yankinmax yankinmax changed the title [MIG] endpoint_auth_api_key: Migration to 19.0 [19.0][MIG] endpoint_auth_api_key: Migration to 19.0 Apr 1, 2026
@yankinmax yankinmax force-pushed the 19.0-mig-endpoint_auth_api_key branch 6 times, most recently from 617ca33 to 3ac1dee Compare April 1, 2026 14:35
@yankinmax yankinmax force-pushed the 19.0-mig-endpoint_auth_api_key branch 3 times, most recently from 78f5dfa to 39f133f Compare April 1, 2026 15:08
@yankinmax
Copy link
Copy Markdown
Author

I wonder what is happening with runboat tests:

INFO odoo odoo.service.server: Starting post tests 
INFO odoo odoo.addons.base.models.ir_qweb: Pregenerating assets bundles 
...
WARNING odoo odoo.addons.base.models.assetsbundle: Error: Undefined variable: "$black".
on line 1472:23 of stdin
>> // Color contrast variables used in the color-contrast function

   ----------------------^
This error occurred while compiling the bundle 'web.assets_frontend' containing:
...

INFO odoo odoo.service.server: 6 post-tests in 12.27s, 520 queries 
INFO odoo odoo.tests.stats: endpoint_auth_api_key: 10 tests 0.31s 262 queries 
INFO odoo odoo.tests.result: 0 failed, 0 error(s) of 6 tests when loading database 'odoo'

The module tests itself are green.

@ivantodorovich
Copy link
Copy Markdown

I wonder what is happening with runboat tests:

INFO odoo odoo.service.server: Starting post tests 
INFO odoo odoo.addons.base.models.ir_qweb: Pregenerating assets bundles 
...
WARNING odoo odoo.addons.base.models.assetsbundle: Error: Undefined variable: "$black".
on line 1472:23 of stdin
>> // Color contrast variables used in the color-contrast function

   ----------------------^
This error occurred while compiling the bundle 'web.assets_frontend' containing:
...

INFO odoo odoo.service.server: 6 post-tests in 12.27s, 520 queries 
INFO odoo odoo.tests.stats: endpoint_auth_api_key: 10 tests 0.31s 262 queries 
INFO odoo odoo.tests.result: 0 failed, 0 error(s) of 6 tests when loading database 'odoo'

The module tests itself are green.

Not sure but other PRs in this branch are ok.
So the cause must be in the way we run tests here, or something.
Please find a way to fix otherwise we can't merge

@yankinmax yankinmax force-pushed the 19.0-mig-endpoint_auth_api_key branch 4 times, most recently from 0dbccf6 to 2bbe633 Compare April 2, 2026 10:12
@yankinmax yankinmax force-pushed the 19.0-mig-endpoint_auth_api_key branch from 2bbe633 to 84b8d7b Compare April 2, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants