Commit Graph

4 Commits

Author SHA1 Message Date
Víctor Martínez
44fc6d93e5 [FIX] document_page_approval: Add correct followers in history pages 2021-02-22 14:45:29 +01:00
Marcel Savegnago
8df3a62f85 [FIX] document_page_approval: fix string 2020-10-23 17:20:53 -03:00
Victor M.M. Torres
6e5bec5a45 [MIG] document_page_approval: Migration to v12 2019-08-23 20:14:50 +02:00
Iván Todorovich
f9bc09d56f [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.
2019-08-23 20:14:50 +02:00