Commit Graph

7 Commits

Author SHA1 Message Date
Víctor Martínez
abb1a069dd [FIX] document_page_approval: Add correct followers in history pages 2024-04-25 15:01:21 +02:00
Víctor Martínez
59e7776320 [MIG] document_page_approval: Migration to 15.0
TT36950
2022-07-27 13:41:41 +02:00
Jeroen Vet
f643da04af [MIG] document_page_approval: Migration to 14.0
[UPD] Update document_page_approval.pot

[UPD] README.rst
2022-07-26 13:22:04 +02:00
flachica
8a14abd1d9 Migrate to 13.0 document_page_approval
To pass test is necesary set approval required to False in demo data
2022-07-26 13:22:04 +02:00
flachica
465cd0bc4d [IMP] document_page_approval: black, isort 2022-07-26 13:22:04 +02:00
Victor M.M. Torres
83aab88c9a [MIG] document_page_approval: Migration to v12
[UPD] Update document_page_approval.pot
2022-07-26 13:22:02 +02:00
Iván Todorovich
a120514fa8 [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.
2022-07-26 13:00:42 +02:00