Commit Graph

16 Commits

Author SHA1 Message Date
Bhavesh Heliconia
a8346c25f3 [MIG] document_page_approval: Migration to 18.0 2025-03-28 16:27:39 +05:30
Bhavesh Heliconia
a53bc19077 [IMP] document_page_approval: pre-commit auto fixes 2025-02-28 09:42:12 +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
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
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
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
Gervais Naoussi
f01154ab18 [MIG] document_page_approval: Migration to 9.0
* Lint error corrected
* test improved
* lint error corrected in test file
* readme corrected
* test improved
* test of document page history workflow added
* CI error corrected
* dreipst comment
* Migration to new api improved in model's file and data tag remove in xml file
* code totally migrate to odoo 9.0 api
* test bug fixed
* test error fixed
* Lint error improved
2025-02-28 09:42:12 +05:30