Skip to content

[19.0][MIG] document_page: Migration to 19.0#591

Closed
gregory-rutecki wants to merge 165 commits intoOCA:19.0from
gregory-rutecki:19.0-mig-document_page
Closed

[19.0][MIG] document_page: Migration to 19.0#591
gregory-rutecki wants to merge 165 commits intoOCA:19.0from
gregory-rutecki:19.0-mig-document_page

Conversation

@gregory-rutecki
Copy link

Summary

Complete migration of document_page to Odoo 19.0.

Depends on: #590 (document_knowledge)

Changes:

  • Version bump 18.0 → 19.0
  • web_editor dependency → html_editor (renamed in v19)
  • from odoo.addons.web_editor.models.diff_utilsodoo.addons.html_editor.models.diff_utils
  • res.groups: category_idprivilege_id, usersuser_ids
  • res.users: groups_idgroup_ids (XML data + demo)
  • ir.ui.menu: groups_idgroup_ids (Python)
  • self.env.user.groups_idself.env.user.group_ids
  • Search view <group expand="0" string="Group By..."><group> (invalid attrs in v19)

Testing

Tested on live Odoo 19.0 Docker instance — installs, creates pages, saves history correctly.

🤖 Generated with Claude Code

Maxime Chambreuil and others added 23 commits March 16, 2026 11:33
* Add dependency to knowledge
* Adding hack in document_page_history to allow calling method that don't exists
* document_page_history don't have _sql attribute
* Filter more fields
* Changed history widget to html.
* Improved views and added followers to pages.
* Updated document_page pot and es translations.
* document_page:^Cissing dependency.
* [MIG] Migration to version 10.0
* [FIX] Comments and CI errors
* [FIX] ValueError: External ID not found in the system: base.menu_base_partner
* [FIX] ValueError: Wrong value for ir.actions.act_window.target: 'inlineview'
* [FIX] Based on @lasley comments
* [FIX] External ID not found in the system: base.group_document_user
Currently translated at 51.9% (28 of 54 strings)

Translation: knowledge-11.0/knowledge-11.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-document_page/fa/
Currently translated at 77.8% (42 of 54 strings)

Translation: knowledge-11.0/knowledge-11.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-document_page/de/
Fixing `Page` parents.
…Add history name field, to name revisions. Modified views to allow setting this field.

[document_page] FIX BUG: UI hanging when editing content. This was due to the api.depends on _compute_diff. Removing it because it's not really necessary since the field is not stored.

[document_page] page_id should be readonly.

Improve active field

[document_page] Update version number

[UPD] Update document_page.pot

[MIG] document_page_multi_company (OCA#188)

* [MIG] document_page_multi_company

Added this feature from the old module directly in document_page
- fix references: report module is now web module

- display_* fields are removed in this version
 * move menus to a higher level.
 * fix categories search view.
 * fix create menu action not being accessible in any way.
 * reorder form view, focusing in the content, not in secondary fields.
natuan9 and others added 25 commits March 16, 2026 11:33
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/
Currently translated at 100.0% (99 of 99 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/it/
warning  Imports should be sorted alphabetically  sort-imports
Currently translated at 95.9% (95 of 99 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/pt_BR/
Currently translated at 100.0% (99 of 99 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/
Currently translated at 100.0% (101 of 101 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/it/
Currently translated at 100.0% (101 of 101 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/sv/
Currently translated at 94.0% (95 of 101 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/ja/
Currently translated at 100.0% (101 of 101 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/
@gregory-rutecki gregory-rutecki force-pushed the 19.0-mig-document_page branch from 3ade893 to 105d5ac Compare March 16, 2026 10:48
@gregory-rutecki
Copy link
Author

Closing in favor of #570 — reviewed and approved the existing PR instead.

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.