knowledge/document_page/models
Dimitrios T. Tanis 06d6817a58 [16.0][FIX] document_page: Don't change last history name and summary when
creating new revision of page.

Fixes an issue where editing a document.page and changing name and/or summary
(to create a new revision) also changes name and summary of the history_head.

draft_name and draft_summary are now computed fields (based on history_head)
but have set the inverse without actually setting the value, to allow setting
them when creating a new draft page.

The issue is prominently evident when using document_page_approval where
the name/summary for the new draft also change the last approved version
(aka history_head) which should not happen.
2025-04-22 01:12:06 +03:00
..
__init__.py 16.0[IMP]document_page: menu_parent_id context domain of menu creation 2024-01-10 13:54:49 +01:00
document_page_history.py Updated from template 2023-11-06 20:05:11 +01:00
document_page.py [16.0][FIX] document_page: Don't change last history name and summary when 2025-04-22 01:12:06 +03:00
ir_ui_menu.py 16.0[IMP]document_page: menu_parent_id context domain of menu creation 2024-01-10 13:54:49 +01:00