Commit Graph

18 Commits

Author SHA1 Message Date
Bhavesh Heliconia
a8346c25f3 [MIG] document_page_approval: Migration to 18.0 2025-03-28 16:27:39 +05:30
Víctor Martínez
f606356ca0 [MIG] document_page_approval: Finish migration
Changes done:
- Squash administrative commits
- Purge translations
- Remove ir.model.access.csv file
- Improve tests (change to setUpClass)
- Replace name_get() to _compute_display_name() (document_page)
- Remove readonly=1 (redudant, it already is) defined in approved_uid and approved_date fields in views
- Restore readonly=1 to the state field
- Remove duplicate Back to draft button

TT51529
2025-02-28 09:42:12 +05:30
EdgarRetes
a4972a014d [MIG] document_page_approval: Migration to 17.0 2025-02-28 09:42:12 +05:30
Víctor Martínez
279891c8f4 [FIX] document_page_approval: Add correct followers in history pages
[BOT] post-merge updates
2025-02-28 09:42:12 +05:30
Víctor Martínez
8776626ff9 [FIX] document_page_approval: Change mail template expressions
[UPD] Update document_page_approval.pot

document_page_approval 16.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2025-02-28 09:42:12 +05:30
FernandoRomera
eb0953684b [16.0][MIG] document_page_approval: Migration to 16.0
[UPD] Update document_page_approval.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2025-02-28 09:42:12 +05:30
Víctor Martínez
a045036e67 [MIG] document_page_approval: Migration to 15.0
TT36950

[UPD] Update document_page_approval.pot

[UPD] README.rst
2025-02-28 09:42:12 +05:30
Jeroen Vet
b4a66d9b3f [MIG] document_page_approval: Migration to 14.0
[UPD] Update document_page_approval.pot

[UPD] README.rst
2025-02-28 09:42:12 +05:30
Jeroen Vet
508727b513 [IMP] document_page_approval: black, isort, prettier + squashed admin commits 2025-02-28 09:42:12 +05:30
flachica
cd6a16d839 Migrate to 13.0 document_page_approval
To pass test is necesary set approval required to False in demo data
2025-02-28 09:42:12 +05:30
flachica
8d8c8ac32a [IMP] document_page_approval: black, isort 2025-02-28 09:42:12 +05:30
Victor M.M. Torres
e1727575df [MIG] document_page_approval: Migration to v12
[UPD] Update document_page_approval.pot
2025-02-28 09:42:12 +05:30
nicomacr
a909f5e74f [FIX] document_page_aproval: Modify in records rules
Add the the group eployee to the rule "Change Request Global" to allow to the user with the rule "Change Request Approver" to create pages
2025-02-28 09:42:12 +05:30
Iván Todorovich
6b2a0bf565 [FIX+IMP] document_page_approval:
* Rename classes and files to match model names, and removed workflow engine.
* Some fields should be readonly if not in draft.
* Allow Knowledge / Manager to edit previous history names and summary
* Improve ux by adding user_has_drafts to document pages.
* Changes because of implementation of active field on document_page
* Add ir.rules for document.page.history
* Allow to quickly cancel&draft from 'to approve' state
* FIX BUG: am_i_approver was being run as sudo(), hence always giving the user Approving rights.
* FIX hooks
  Because of default='draft' on the state field, state IS NULL wasn't selecting anything.
  Left the condition in case this is changed in the future.
2025-02-28 09:42:12 +05:30
Gabriela Mogollon
ffb2adb712 [MIG] document_page_approval: Migration to 11.0 2025-02-28 09:42:12 +05:30
Iván Todorovich
afc1bf0423 [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2025-02-28 09:42:12 +05:30
Maxime Chambreuil
463bb6c611 [FIX] View 2025-02-28 09:42:12 +05:30
Leonardo Donelli
38b8c0f10c [MIG] document_page_approval: Migration to 10.0 2025-02-28 09:42:12 +05:30