Skip to content

[19.0][MIG] document_page_reference: Migration to 19.0 - #589

Closed
gregory-rutecki wants to merge 39 commits into
OCA:19.0from
gregory-rutecki:19.0-mig-document_page_reference
Closed

gregory-rutecki wants to merge 39 commits into
OCA:19.0from
gregory-rutecki:19.0-mig-document_page_reference

Conversation

@gregory-rutecki

Copy link
Copy Markdown

Summary

Migration of document_page_reference module to Odoo 19.0.

Depends on: [19.0][MIG] document_page: Migration to 19.0 #570

Changes for Odoo 19 compatibility:

  • Version bump 18.0 → 19.0

Testing

  • Tested on a live Odoo 19.0 Docker instance (odoo:19.0 official image)
  • Module installs and operates correctly

🤖 Generated with Claude Code

etobella and others added 29 commits March 16, 2026 11:33
[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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
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/
@jans23

jans23 commented May 5, 2026

Copy link
Copy Markdown

Please have a look at #609 and #610 and include them if applicable.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 6, 2026
@github-actions github-actions Bot closed this Oct 11, 2026
adminde added a commit to oros-energy/oca-knowledge that referenced this pull request Oct 15, 2026
No OCA pull request for 20.0 exists. The history above is the head of
OCA#626 ([19.0][MIG] document_page_reference, open, approved
twice, supersedes OCA#589) replayed with git format-patch and git am,
followed by the 18.0 commits that OCA#626 does not contain yet (fix OCA#609 for
reference links in the content, the report fix and the fr, gl and sl
translations), cherry-picked with their authors. Model, tests and
translations now match the static Oros port, which came from 18.0. View
and widget keep the 19.0 fixes of OCA#626, which the port lacks.

* Odoo 20 renamed BaseModel.get_formview_action() to
  get_record_default_action(). The override moves to the new name and
  get_formview_action() stays as an alias, because the reference links
  call it over RPC. The port built the action by hand instead.
* Owl 3 has no useExternalListener any more. The widget uses useListener,
  which also removes the listener when the field is destroyed.
* reference is copy=False. Otherwise copying a page fails on the unique
  reference (test_page_copy of document_page fails with this module
  installed). Taken from the port.
* Tests: BaseCommon in 20.0 runs each test as a user with only
  base.group_user. The tests keep the superuser environment of 19.0 with
  _test_user_groups = (). Taken from the port.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.