[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

@@ -409,73 +409,3 @@ msgstr ""
#, python-format
msgid "You need to cancel it before reopening."
msgstr "Pred ponovnim odprtjem jo morate preklicati."
#~ msgid ""
#~ "\n"
#~ " \n"
#~ "<p>Hello,</p>\n"
#~ "\n"
#~ "<p>${object.create_uid.name} submited a new Change Request for <b>"
#~ "${object.page_id.name}</b> and it needs your approval.</p>\n"
#~ "\n"
#~ "<h1><a href=\"${object.page_url}\">${object.display_name}</a></h1>\n"
#~ "<p>\n"
#~ "<b>Modified by:</b> ${object.create_uid.name}<br/>\n"
#~ "<b>Date:</b> ${object.create_date}<br>\n"
#~ "</p>\n"
#~ "\n"
#~ "% if object.summary:\n"
#~ "<h3>Summary</h3>\n"
#~ "<p>${object.summary}</p>\n"
#~ "% endif\n"
#~ "\n"
#~ "<h3>Diff</h3>\n"
#~ "<div style=\"overflow-x:scroll; font-size:0.85em; margin-bottom:2em;\">\n"
#~ "${object.diff|safe}\n"
#~ "</div>\n"
#~ "\n"
#~ "<p>Have a great day.</p>\n"
#~ "\n"
#~ "--<br/>\n"
#~ "\n"
#~ "<p>Odoo</p>\n"
#~ " \n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ " \n"
#~ "<p>Pozdravljeni.</p>\n"
#~ "\n"
#~ "<p>${object.create_uid.name} je vložil novo zahtevo po spremembi za <b>"
#~ "${object.page_id.name}</b> , ki jo morate odobriti.</p>\n"
#~ "\n"
#~ "<h1><a href=\"${object.page_url}\">${object.display_name}</a></h1>\n"
#~ "<p>\n"
#~ "<b>Spremenil:</b> ${object.create_uid.name}<br/>\n"
#~ "<b>Datum:</b> ${object.create_date}<br>\n"
#~ "</p>\n"
#~ "\n"
#~ "% if object.summary:\n"
#~ "<h3>Povzetek</h3>\n"
#~ "<p>${object.summary}</p>\n"
#~ "% endif\n"
#~ "\n"
#~ "<h3>Razlika</h3>\n"
#~ "<div style=\"overflow-x:scroll; font-size:0.85em; margin-bottom:2em;\">\n"
#~ "${object.diff|safe}\n"
#~ "</div>\n"
#~ "\n"
#~ "<p>Lep pozdrav.</p>\n"
#~ "\n"
#~ "--<br/>\n"
#~ "\n"
#~ "<p>Odoo</p>\n"
#~ " \n"
#~ " "
#~ msgid "New version of ${object.display_name} needs your approval"
#~ msgstr "Nova verzija ${object.display_name} potrebuje vašo odobritev"
#, python-format
#~ msgid "Change request <b>%s</b> has been cancelled by %s."
#~ msgstr "Zahtevo po spremembi <b>%s</b> je preklical %s."