[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
This commit is contained in:
Víctor Martínez
2024-11-12 10:29:19 +01:00
committed by Bhavesh Heliconia
parent a4972a014d
commit f606356ca0
10 changed files with 35 additions and 275 deletions

View File

@@ -22,6 +22,7 @@ class DocumentPageHistory(models.Model):
],
"Status",
default="draft",
readonly=True,
)
approved_date = fields.Datetime()