[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

@@ -407,75 +407,3 @@ msgstr ""
#, python-format
msgid "You need to cancel it before reopening."
msgstr "Morate otkazati prije ponovnog otvaranja."
#~ msgid "SMS Delivery error"
#~ msgstr "Greška pri isporuci SMSa"
#~ msgid "Number of messages which requires an action"
#~ msgstr "Broj poruka koje trebaju neku radnju"
#~ 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>Pozdrav,</p>\n"
#~ "\n"
#~ "<p>${object.create_uid.name} je podnio novi zahtjev za izmjenom <b>"
#~ "${object.page_id.name}</b> i potrebno je vaše odobrenje.</p>\n"
#~ "\n"
#~ "<h1><a href=\"${object.page_url}\">${object.display_name}</a></h1>\n"
#~ "<p>\n"
#~ "<b>Uredio:</b> ${object.create_uid.name}<br/>\n"
#~ "<b>Datum:</b> ${object.create_date}<br>\n"
#~ "</p>\n"
#~ "\n"
#~ "% if object.summary:\n"
#~ "<h3>Sažetak</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>Ugodan dan.</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} traži vaše odobrenje"