Skip to content

[20.0][MIG] document_page_project: Migration to 20.0 - #648

Open
dnplkndll wants to merge 31 commits into
OCA:20.0from
ledoent:20.0-mig-document_page_project
Open

dnplkndll wants to merge 31 commits into
OCA:20.0from
ledoent:20.0-mig-document_page_project

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

Port of document_page_project from 19.0 to 20.0. Follows the OCA migration guide.

Depends on #647 and #646, so Detect unreleased dependencies is red until those land.

20.0 split the project kanban: view_project_kanban is now a thin wrapper delegating its card to view_project_card, and o_project_kanban_boxes no longer exists — the 19.0 xpath fails at install with "cannot be located in parent view". The Wiki Pages counter moves into the card body and follows the open_task_count idiom core uses there. The form stat button is unaffected; button_box still exists.

AI-assisted (Claude Code); every change reviewed, tested, and owned by the author.

LoisRForgeFlow and others added 30 commits October 1, 2026 13:02
Currently translated at 100.0% (8 of 8 strings)

Translation: knowledge-12.0/knowledge-12.0-document_page_project
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_page_project/hr/
Currently translated at 87.5% (7 of 8 strings)

Translation: knowledge-13.0/knowledge-13.0-document_page_project
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page_project/he_IL/
Currently translated at 87.5% (7 of 8 strings)

Translation: knowledge-13.0/knowledge-13.0-document_page_project
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page_project/he_IL/
Currently translated at 87.5% (7 of 8 strings)

Translation: knowledge-13.0/knowledge-13.0-document_page_project
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page_project/es/
Currently translated at 100.0% (8 of 8 strings)

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

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

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

Translation: knowledge-19.0/knowledge-19.0-document_page_project
Translate-URL: https://translation.odoo-community.org/projects/knowledge-19-0/knowledge-19-0-document_page_project/sl/
Signed-off-by: Don Kendall <[email protected]>
Assisted-by: Claude Opus 5
* 20.0 split the project kanban: view_project_kanban is now a thin wrapper that
  delegates its card to view_project_card, and o_project_kanban_boxes is gone, so
  the Wiki Pages counter moves into the card body and follows the open_task_count
  idiom core uses there. Without this the module fails to install.
* fa-book -> the Material Symbols "book" ligature.

Signed-off-by: Don Kendall <[email protected]>
Assisted-by: Claude Opus 5
…anch

Signed-off-by: Don Kendall <[email protected]>
Assisted-by: Claude Opus 5
@OCA-git-bot OCA-git-bot added mod:document_page_project Module document_page_project series:20.0 labels Oct 2, 2026
XtremXpert added a commit to XtremXpert/knowledge that referenced this pull request Oct 4, 2026
XtremXpert added a commit to XtremXpert/knowledge that referenced this pull request Oct 4, 2026

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code review LGTM!

adminde added a commit to oros-energy/oca-knowledge that referenced this pull request Oct 15, 2026
Head bda91c9 of ledoent:20.0-mig-document_page_project, open, approved.
The last PR commit 38a4b49 (DO NOT MERGE, pins document_page and
document_knowledge to the open PRs in test-requirements.txt) is left out
because both are merged here.
adminde added a commit to oros-energy/oca-knowledge that referenced this pull request Oct 15, 2026
Up to 19.0 the wiki box of the project kanban and the stat button of the
project form carried groups="document_knowledge.group_document_user".
The 20.0 migration in OCA#648 dropped the attribute. Read access
to document.page is granted only to that group (document_page
security/ir.access.csv), so a project user without it would compute
document_page_count on every card and form and run into an access error.
The attribute is restored on both elements as in 19.0 and in the static
Oros port.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:document_page_project Module document_page_project series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.