Commit Graph

12 Commits

Author SHA1 Message Date
oca-travis
923a8ed100 [UPD] Update document_page_approval.pot 2022-01-05 09:24:53 +00:00
Jeroen Vet
a6db017bde [IMP] document_page_approval: black, isort, prettier + squashed admin commits 2021-12-13 12:29:04 +01:00
flachica
2b5303f295 [IMP] document_page_approval: black, isort 2021-12-13 12:29:04 +01:00
oca-travis
d251cbb7f8 [UPD] Update document_page_approval.pot 2021-12-13 12:29:04 +01:00
Iván Todorovich
f2077962fe [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.
2021-12-13 12:29:04 +01:00
Gabriela Mogollon
53ec83538d [MIG] document_page_approval: Migration to 11.0 2021-12-13 12:29:04 +01:00
Iván Todorovich
9426f2823c [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2021-12-13 12:29:04 +01:00
Glen Sojo
04f0426d29 [IMP] - Changed string from email template.
[IMP] - Improved views to match document_page improvements.
[IMP] - Added notification to followers when a new version is approved.
[ADD] - Updated document_page_approval pot and added es translations.
[IMP] - document_page_approval: Updated spanish translation.
2021-12-13 12:29:04 +01:00
Loïc Faure-Lacroix
a02e41195f Comment workflow that cause the error
It should work but further errors could help understand what's going

Commented other necessary part

Add back workflow

Add dependency to knowledge
2021-12-13 12:29:04 +01:00
Giorgio Borelli
9b4230bb99 start porting
fix act_draft and minor ui fix

remove unused variables

change order of xml data files
2021-12-13 12:29:04 +01:00
Sandy Carter
c464538040 Set document_page_approval as unported 2021-12-13 12:29:04 +01:00
Maxime Chambreuil
629a6756c2 [IMP] Documentation
[ADD] Translation file + french
[FIX] employee_id field does not exist
[FIX] user_email field deprecated
[IMP] Split long lines
[ADD] Images
2021-12-13 12:29:04 +01:00