Skip to content

[20.0][MIG] document_page_reference: Migration to version 20.0 - #682

Merged
OCA-git-bot merged 31 commits into
OCA:20.0from
Tecnativa:20.0-mig-document_page_reference
Nov 27, 2026
Merged

OCA-git-bot merged 31 commits into
OCA:20.0from
Tecnativa:20.0-mig-document_page_reference

Conversation

@pilarvargas-tecnativa

@pilarvargas-tecnativa pilarvargas-tecnativa commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

etobella and others added 28 commits November 27, 2026 07:39
[UPD] Update document_page_reference.pot

[UPD] README.rst
also, make reference optional in tree view and not the first field.
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-15.0/knowledge-15.0-document_page_reference
Translate-URL: https://translation.odoo-community.org/projects/knowledge-15-0/knowledge-15-0-document_page_reference/it/
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-15.0/knowledge-15.0-document_page_reference
Translate-URL: https://translation.odoo-community.org/projects/knowledge-15-0/knowledge-15-0-document_page_reference/it/
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-15.0/knowledge-15.0-document_page_reference
Translate-URL: https://translation.odoo-community.org/projects/knowledge-15-0/knowledge-15-0-document_page_reference/it/
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_reference
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_reference/es/
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_reference
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_reference/pt/
[FIX]document_page_reference :log warning updated

[FIX]document_page_reference: null value issue fixed
19.0 Html fields return Markup; Markup.replace(token, plain_str) escapes the
injected anchor, so content_parsed stored the <a> as literal text and no
.oe_direct_line element rendered. Restore 18.0's get_content shape: seed with
Markup(raw), return Markup() from _resolve_reference (+ backend_url href and the
second pass that re-resolves already-rendered links). Bind the click handler via
one delegated useExternalListener instead of per-node onMounted listeners.

Assisted-by: Claude Fable 5
Replace the dead oe_read_only/oe_edit_only CSS toggle (an open record is always
o_form_editable in OWL, so content_parsed never showed) with readonly content_parsed
+ invisible/required content. Companion to the Markup-render fix.

Assisted-by: Claude Fable 5
@oca-cla-bot

oca-cla-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@OCA-git-bot OCA-git-bot added the mod:document_page_reference Module document_page_reference label Nov 27, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration document_page_reference

@OCA-git-bot OCA-git-bot added this to the 20.0 milestone Nov 27, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Nov 27, 2026
3 of 10 tasks
@pilarvargas-tecnativa
pilarvargas-tecnativa force-pushed the 20.0-mig-document_page_reference branch from 6a81b2c to f345592 Compare November 27, 2026 08:14
@pilarvargas-tecnativa
pilarvargas-tecnativa marked this pull request as ready for review November 27, 2026 08:19

@victoralmau victoralmau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code and functional review OK

@Andrii9090-tecnativa Andrii9090-tecnativa 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.

LGTM, tested on runboat

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration document_page_reference
/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 20.0-ocabot-merge-pr-682-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 8620d6b into OCA:20.0 Nov 27, 2026
7 of 8 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 60ef5ae. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 20.0-mig-document_page_reference branch November 27, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.