Skip to content

Fork Sync Branch 19.0 - #228

Merged
btl-bot merged 13 commits into
BTLzdravtech:19.0from
OCA:19.0
Oct 29, 2026
Merged

btl-bot merged 13 commits into
BTLzdravtech:19.0from
OCA:19.0

Conversation

@btl-bot

@btl-bot btl-bot commented Oct 29, 2026

Copy link
Copy Markdown

No description provided.

hbrunn and others added 13 commits October 9, 2026 14:47
The module answers `_index` with False so nothing is stored in
`index_content`, and the field is then empty for every reader. Code that
needs the value gets a boolean, for instance the website controller that
looks a theme color up in the CSS bundle through
`asset.css().index_content`:

    TypeError: expected string or bytes-like object, got 'bool'

Keep the column empty, but when the field is fetched and the database has
no value, index the file at that moment with the next `_index` of the MRO
(the one the module disables) and only put the result in the cache. Nothing
is written to the database, searching the field gives the same as before,
and a value written by hand is kept.

The tests that checked that the field reads False now check the stored
column.
Signed-off-by hbrunn
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-19.0/server-tools-19.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_view_inheritance_extension/
Currently translated at 15.0% (9 of 60 strings)

Translation: server-tools-19.0/server-tools-19.0-base_kanban_stage
Translate-URL: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_kanban_stage/sl/
Currently translated at 100.0% (7 of 7 strings)

Translation: server-tools-19.0/server-tools-19.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_view_inheritance_extension/it/
Signed-off-by moylop260
Signed-off-by sbidoul

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot
btl-bot merged commit aa4dc87 into BTLzdravtech:19.0 Oct 29, 2026
1 of 4 checks passed
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