[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.
This commit is contained in:
Iván Todorovich 2018-04-20 10:42:49 -03:00 committed by Bhavesh Heliconia
parent ffb2adb712
commit 6b2a0bf565
78 changed files with 3924 additions and 1267 deletions

View File

@ -3,7 +3,7 @@
{ {
'name': 'Document Page Approval', 'name': 'Document Page Approval',
'version': '11.0.1.0.0', 'version': '11.0.2.0.0',
"author": "Savoir-faire Linux, Odoo Community Association (OCA)", "author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "http://www.savoirfairelinux.com", "website": "http://www.savoirfairelinux.com",
"license": "AGPL-3", "license": "AGPL-3",

View File

@ -1,20 +1,24 @@
# Copyright 2018 Ivan Todorovich (<ivan.todorovich@gmail.com>) # Copyright 2018 Ivan Todorovich (<ivan.todorovich@gmail.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging
_logger = logging.getLogger(__name__)
def post_init_hook(cr, registry): # pragma: no cover def post_init_hook(cr, registry): # pragma: no cover
# Set all pre-existing pages history to approved # Set all pre-existing pages history to approved
_logger.info('Setting history to approved.')
cr.execute(""" cr.execute("""
UPDATE document_page_history UPDATE document_page_history
SET state='approved', SET state='approved',
approved_uid=create_uid, approved_uid=create_uid,
approved_date=create_date approved_date=create_date
WHERE state IS NULL WHERE state IS NULL OR state = 'draft'
""") """)
def uninstall_hook(cr, registry): # pragma: no cover def uninstall_hook(cr, registry): # pragma: no cover
# Remove unapproved pages # Remove unapproved pages
_logger.info('Deleting unapproved Change Requests.')
cr.execute( cr.execute(
"DELETE FROM document_page_history " "DELETE FROM document_page_history "
"WHERE state != 'approved'" "WHERE state != 'approved'"

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Neue Fassung des Dokuments %s freigegeben." msgstr "Neue Fassung des Dokuments %s freigegeben."
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -46,6 +46,12 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid "<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -107,6 +113,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -126,13 +144,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -169,25 +187,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -238,14 +244,40 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid "You are not authorized to do this. \n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid "You are not authorized to do this. \n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid "You are not authorized to do this. \n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Nueva versión del documento %s aprobada." msgstr "Nueva versión del documento %s aprobada."
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Nueva versión del documento %s aprobada." msgstr "Nueva versión del documento %s aprobada."
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -55,6 +55,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -117,6 +125,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -136,13 +156,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -179,25 +199,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Nova verzija dokumenta %s odobrena" msgstr "Nova verzija dokumenta %s odobrena"
@ -252,13 +260,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "La nuova versione del documento %s è approvata." msgstr "La nuova versione del documento %s è approvata."
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -55,6 +55,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Uma nova versão do ocumento %s foi aprovada." msgstr "Uma nova versão do ocumento %s foi aprovada."
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Foi aprovada a nova versão do documento %s." msgstr "Foi aprovada a nova versão do documento %s."
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -55,6 +55,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "Nova verzija dokumenta %s odobrena." msgstr "Nova verzija dokumenta %s odobrena."
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "URL" msgstr "URL"
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -55,6 +55,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -116,6 +124,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -135,13 +155,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -178,25 +198,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -251,13 +259,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -53,6 +53,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -114,6 +122,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -133,13 +153,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -176,25 +196,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -249,13 +257,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -54,6 +54,14 @@ msgid ""
" " " "
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
msgid ""
"<b>You already have a Draft Change Request for this page.</b>\n"
" It is highly recommended that you edit that one instead "
"of creating a new one."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver
@ -115,6 +123,18 @@ msgstr ""
msgid "Back to draft" msgid "Back to draft"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:100
#, python-format
msgid "Can't approve page in '%s' state."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:76
#, python-format
msgid "Can't approve pages in '%s' state."
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
msgid "Cancel" msgid "Cancel"
@ -134,13 +154,13 @@ msgid "Change Requests"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #: code:addons/document_page_approval/models/document_page_history.py:138
#, python-format #, python-format
msgid "Change request <b>%s</b> has been cancelled by %s." msgid "Change request <b>%s</b> has been cancelled by %s."
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #: code:addons/document_page_approval/models/document_page_history.py:119
#, python-format #, python-format
msgid "Change request has been approved by %s." msgid "Change request has been approved by %s."
msgstr "" msgstr ""
@ -177,25 +197,13 @@ msgstr ""
msgid "If true, changes of this page require approval" msgid "If true, changes of this page require approval"
msgstr "" msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:59
#, python-format
msgid "It's not cancelled or approved"
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:71
#, python-format
msgid "It's not in draft state"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval
msgid "New version of ${object.display_name} needs your approval" msgid "New version of ${object.display_name} needs your approval"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #: code:addons/document_page_approval/models/document_page_history.py:126
#, python-format #, python-format
msgid "New version of the document %s approved." msgid "New version of the document %s approved."
msgstr "" msgstr ""
@ -250,13 +258,42 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#. module: document_page_approval
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts
msgid "User has drafts?"
msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid
msgid "Users must also belong to the Approvers group" msgid "Users must also belong to the Approvers group"
msgstr "" msgstr ""
#. module: document_page_approval #. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 #: code:addons/document_page_approval/models/document_page_history.py:102
#, python-format #, python-format
msgid "You are not an appover to reset to draft" msgid ""
"You are not authorized to do this.\r\n"
"Only approvers with these groups can approve this: "
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:62
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can reopen Change Requests."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:79
#, python-format
msgid ""
"You are not authorized to do this.\r\n"
"Only owners or approvers can request approval."
msgstr ""
#. module: document_page_approval
#: code:addons/document_page_approval/models/document_page_history.py:59
#, python-format
msgid "You need to cancel it before reopening."
msgstr "" msgstr ""

View File

@ -1 +1 @@
from . import document_page_approval, document_page_history_workflow from . import document_page, document_page_history

View File

@ -6,7 +6,7 @@ from odoo import api, fields, models
from ast import literal_eval from ast import literal_eval
class DocumentPageApproval(models.Model): class DocumentPage(models.Model):
"""Useful to know the state of a document.""" """Useful to know the state of a document."""
_inherit = 'document.page' _inherit = 'document.page'
@ -66,6 +66,11 @@ class DocumentPageApproval(models.Model):
string='Has changes pending approval' string='Has changes pending approval'
) )
user_has_drafts = fields.Boolean(
compute='_compute_user_has_drafts',
string='User has drafts?',
)
@api.multi @api.multi
@api.depends('approval_required', 'parent_id.is_approval_required') @api.depends('approval_required', 'parent_id.is_approval_required')
def _compute_is_approval_required(self): def _compute_is_approval_required(self):
@ -100,14 +105,17 @@ class DocumentPageApproval(models.Model):
# if it's not required, anyone can approve # if it's not required, anyone can approve
if not self.is_approval_required: if not self.is_approval_required:
return True return True
# to approve, you must have approver rights # if user belongs to 'Knowledge / Manager', he can approve anything
approver_group_id = self.env.ref( if user.has_group('document_page.group_document_manager'):
'document_page_approval.group_document_approver_user') return True
if approver_group_id not in user.groups_id: # to approve, user must have approver rights
if not user.has_group(
'document_page_approval.group_document_approver_user'):
return False return False
# and belong to at least one of the approver_groups (if any is set) # if there aren't any approver_groups_defined, user can approve
if not self.approver_group_ids: if not self.approver_group_ids:
return True return True
# to approve, user must belong to any of the approver groups
return len(user.groups_id & self.approver_group_ids) > 0 return len(user.groups_id & self.approver_group_ids) > 0
@api.multi @api.multi
@ -119,10 +127,19 @@ class DocumentPageApproval(models.Model):
('state', '=', 'to approve')]) ('state', '=', 'to approve')])
rec.has_changes_pending_approval = (changes > 0) rec.has_changes_pending_approval = (changes > 0)
@api.multi
def _compute_user_has_drafts(self):
history = self.env['document.page.history']
for rec in self:
changes = history.search_count([
('page_id', '=', rec.id),
('state', '=', 'draft')])
rec.user_has_drafts = (changes > 0)
@api.multi @api.multi
def _create_history(self, vals): def _create_history(self, vals):
res = super(DocumentPageApproval, self)._create_history(vals) res = super(DocumentPage, self)._create_history(vals)
res.document_page_auto_confirm() res.action_to_approve()
@api.multi @api.multi
def action_changes_pending_approval(self): def action_changes_pending_approval(self):

View File

@ -1,14 +1,12 @@
# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from datetime import datetime
from odoo.tools.translate import _ from odoo.tools.translate import _
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
from odoo import api, fields, models from odoo import api, fields, models
from odoo.exceptions import UserError from odoo.exceptions import UserError
class DocumentPageHistoryWorkflow(models.Model): class DocumentPageHistory(models.Model):
"""Useful to manage edition's workflow on a document.""" """Useful to manage edition's workflow on a document."""
_name = 'document.page.history' _name = 'document.page.history'
@ -20,8 +18,8 @@ class DocumentPageHistoryWorkflow(models.Model):
('approved', 'Approved'), ('approved', 'Approved'),
('cancelled', 'Cancelled')], ('cancelled', 'Cancelled')],
'Status', 'Status',
default='draft',
readonly=True, readonly=True,
default='draft'
) )
approved_date = fields.Datetime( approved_date = fields.Datetime(
@ -43,7 +41,8 @@ class DocumentPageHistoryWorkflow(models.Model):
) )
am_i_approver = fields.Boolean( am_i_approver = fields.Boolean(
compute='_compute_am_i_approver' related='page_id.am_i_approver',
related_sudo=False,
) )
page_url = fields.Text( page_url = fields.Text(
@ -52,56 +51,66 @@ class DocumentPageHistoryWorkflow(models.Model):
) )
@api.multi @api.multi
def page_approval_draft(self): def action_draft(self):
"""Set a change request as draft""" """Set a change request as draft"""
if self.filtered(lambda r: r.state not in [ for rec in self:
'cancelled', 'approved']): if not rec.state == 'cancelled':
raise UserError(_("It's not cancelled or approved")) raise UserError(
if self.filtered(lambda r: _('You need to cancel it before reopening.'))
r.state == 'approved' and not self.am_i_approver): if not (rec.am_i_owner or rec.am_i_approver):
raise UserError(_("You are not an appover to reset to draft")) raise UserError(
self.write({'state': 'draft'}) _('You are not authorized to do this.\r\n'
'Only owners or approvers can reopen Change Requests.'))
rec.write({'state': 'draft'})
@api.multi @api.multi
def document_page_auto_confirm(self): def action_to_approve(self):
"""Automatic Transitions for change requests created directly from
documents
"""
if self.filtered(lambda r: r.state != 'draft'):
raise UserError(_("It's not in draft state"))
to_approve = self.filtered(lambda r: r.is_approval_required)
to_approve.write({'state': 'to approve'})
approved = (self - to_approve)
approved.write({'state': 'approved'})
approved.mapped('page_id')._compute_history_head()
@api.multi
def page_approval_to_approve(self):
"""Set a change request as to approve""" """Set a change request as to approve"""
self.write({'state': 'to approve'})
template = self.env.ref( template = self.env.ref(
'document_page_approval.email_template_new_draft_need_approval') 'document_page_approval.email_template_new_draft_need_approval')
approver_gid = self.env.ref( approver_gid = self.env.ref(
'document_page_approval.group_document_approver_user') 'document_page_approval.group_document_approver_user')
for rec in self: for rec in self:
if rec.state != 'draft':
raise UserError(
_("Can't approve pages in '%s' state.") % rec.state)
if not (rec.am_i_owner or rec.am_i_approver):
raise UserError(
_('You are not authorized to do this.\r\n'
'Only owners or approvers can request approval.'))
# request approval
if rec.is_approval_required: if rec.is_approval_required:
rec.write({'state': 'to approve'})
guids = [g.id for g in rec.page_id.approver_group_ids] guids = [g.id for g in rec.page_id.approver_group_ids]
users = self.env['res.users'].search([ users = self.env['res.users'].search([
('groups_id', 'in', guids), ('groups_id', 'in', guids),
('groups_id', 'in', approver_gid.id)]) ('groups_id', 'in', approver_gid.id)])
rec.message_subscribe_users([u.id for u in users]) rec.message_subscribe_users([u.id for u in users])
rec.message_post_with_template(template.id) rec.message_post_with_template(template.id)
else:
# auto-approve if approval is not required
rec.action_approve()
@api.multi @api.multi
def page_approval_approved(self): def action_approve(self):
"""Set a change request as approved.""" """Set a change request as approved."""
self.write({
'state': 'approved',
'approved_date': datetime.now().strftime(
DEFAULT_SERVER_DATETIME_FORMAT),
'approved_uid': self.env.uid
})
for rec in self: for rec in self:
if rec.state not in ['draft', 'to approve']:
raise UserError(
_("Can't approve page in '%s' state.") % rec.state)
if not rec.am_i_approver:
raise UserError(_(
'You are not authorized to do this.\r\n'
'Only approvers with these groups can approve this: '
) % ', '.join(
[g.display_name
for g in rec.page_id.approver_group_ids]))
# Update state
rec.write({
'state': 'approved',
'approved_date': fields.datetime.now(),
'approved_uid': self.env.uid,
})
# Trigger computed field update # Trigger computed field update
rec.page_id._compute_history_head() rec.page_id._compute_history_head()
# Notify state change # Notify state change
@ -120,7 +129,7 @@ class DocumentPageHistoryWorkflow(models.Model):
) )
@api.multi @api.multi
def page_approval_cancelled(self): def action_cancel(self):
"""Set a change request as cancelled.""" """Set a change request as cancelled."""
self.write({'state': 'cancelled'}) self.write({'state': 'cancelled'})
for rec in self: for rec in self:
@ -131,19 +140,18 @@ class DocumentPageHistoryWorkflow(models.Model):
) % (rec.display_name, self.env.user.name) ) % (rec.display_name, self.env.user.name)
) )
@api.multi
def action_cancel_and_draft(self):
"""Set a change request as draft, cancelling it first"""
self.action_cancel()
self.action_draft()
@api.multi @api.multi
def _compute_am_i_owner(self): def _compute_am_i_owner(self):
"""Check if current user is the owner""" """Check if current user is the owner"""
for rec in self: for rec in self:
rec.am_i_owner = (rec.create_uid == self.env.user) rec.am_i_owner = (rec.create_uid == self.env.user)
@api.multi
def _compute_am_i_approver(self):
"""check if current user is a approver"""
for rec in self:
rec.am_i_approver = rec.page_id.can_user_approve_this_page(
self.env.user)
@api.multi @api.multi
def _compute_page_url(self): def _compute_page_url(self):
"""Compute the page url.""" """Compute the page url."""

View File

@ -11,4 +11,25 @@
<field name="implied_ids" eval="[(4, ref('group_document_approver_user'))]"/> <field name="implied_ids" eval="[(4, ref('group_document_approver_user'))]"/>
</record> </record>
<record model="ir.rule" id="rule_change_request_global">
<field name="name">Change Request Global</field>
<field name="model_id" ref="model_document_page_history"/>
<field name="domain_force">['|',('state','=','approved'),('create_uid','=',user.id)]</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_unlink" eval="True"/>
<field name="perm_create" eval="True"/>
</record>
<record model="ir.rule" id="rule_change_request_approver">
<field name="name">Change Request Approver</field>
<field name="model_id" ref="model_document_page_history"/>
<field name="groups" eval="[(6, 0, [ref('group_document_approver_user')])]"/>
<field name="domain_force">[('state','!=','draft')]</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_unlink" eval="True"/>
<field name="perm_create" eval="True"/>
</record>
</odoo> </odoo>

View File

@ -47,7 +47,7 @@ class TestDocumentPageApproval(common.TransactionCase):
self.assertTrue(chreq.am_i_approver) self.assertTrue(chreq.am_i_approver)
# approve # approve
chreq.page_approval_approved() chreq.action_approve()
self.assertEqual(chreq.state, 'approved') self.assertEqual(chreq.state, 'approved')
self.assertEqual(chreq.content, page.content) self.assertEqual(chreq.content, page.content)
@ -58,7 +58,7 @@ class TestDocumentPageApproval(common.TransactionCase):
('page_id', '=', page.id), ('page_id', '=', page.id),
('state', '!=', 'approved') ('state', '!=', 'approved')
])[0] ])[0]
chreq.page_approval_approved() chreq.action_approve()
self.assertEqual(page.content, 'New content') self.assertEqual(page.content, 'New content')
def test_change_request_auto_approve(self): def test_change_request_auto_approve(self):
@ -74,7 +74,7 @@ class TestDocumentPageApproval(common.TransactionCase):
self.history_obj.search([ self.history_obj.search([
('page_id', '=', page.id), ('page_id', '=', page.id),
('state', '!=', 'approved') ('state', '!=', 'approved')
]).page_approval_approved() ]).action_approve()
# new change request from scrath # new change request from scrath
chreq = self.history_obj.create({ chreq = self.history_obj.create({
@ -88,25 +88,25 @@ class TestDocumentPageApproval(common.TransactionCase):
self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_date, chreq.approved_date)
self.assertNotEqual(page.approved_uid, chreq.approved_uid) self.assertNotEqual(page.approved_uid, chreq.approved_uid)
chreq.page_approval_to_approve() chreq.action_to_approve()
self.assertEqual(chreq.state, 'to approve') self.assertEqual(chreq.state, 'to approve')
self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.content, chreq.content)
self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_date, chreq.approved_date)
self.assertNotEqual(page.approved_uid, chreq.approved_uid) self.assertNotEqual(page.approved_uid, chreq.approved_uid)
chreq.page_approval_cancelled() chreq.action_cancel()
self.assertEqual(chreq.state, 'cancelled') self.assertEqual(chreq.state, 'cancelled')
self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.content, chreq.content)
self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_date, chreq.approved_date)
self.assertNotEqual(page.approved_uid, chreq.approved_uid) self.assertNotEqual(page.approved_uid, chreq.approved_uid)
chreq.page_approval_draft() chreq.action_draft()
self.assertEqual(chreq.state, 'draft') self.assertEqual(chreq.state, 'draft')
self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.content, chreq.content)
self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_date, chreq.approved_date)
self.assertNotEqual(page.approved_uid, chreq.approved_uid) self.assertNotEqual(page.approved_uid, chreq.approved_uid)
chreq.page_approval_approved() chreq.action_approve()
self.assertEqual(chreq.state, 'approved') self.assertEqual(chreq.state, 'approved')
self.assertEqual(page.content, chreq.content) self.assertEqual(page.content, chreq.content)
self.assertEqual(page.approved_date, chreq.approved_date) self.assertEqual(page.approved_date, chreq.approved_date)

View File

@ -10,20 +10,23 @@
<sheet position="before"> <sheet position="before">
<header> <header>
<!-- draft -> to approve --> <!-- draft -> to approve -->
<button name="page_approval_to_approve" type="object" string="Send to Review" state="draft" class="oe_highlight" <button name="action_to_approve" type="object" string="Send to Review" class="oe_highlight"
attrs="{'invisible':['|','|',('is_approval_required','=',False),('am_i_owner','=',False),('state', 'not in', ['draft'])]}"/> attrs="{'invisible':['|','|',('is_approval_required','=',False),('am_i_owner','=',False),('state', 'not in', ['draft'])]}"/>
<!-- approve if i am approver --> <!-- approve if i am approver -->
<button name="page_approval_approved" type="object" string="Approve" state="to aprrove" class="oe_highlight" <button name="action_approve" type="object" string="Approve" class="oe_highlight"
attrs="{'invisible':['|','|',('is_approval_required','=',False),('am_i_approver','=',False),('state','not in',['draft','to approve'])]}"/> attrs="{'invisible':['|','|',('is_approval_required','=',False),('am_i_approver','=',False),('state','not in',['draft','to approve'])]}"/>
<!-- approve if it's not required and i am owner --> <!-- approve if it's not required and i am owner -->
<button name="page_approval_approved" type="object" string="Approve" class="oe_highlight" <button name="action_approve" type="object" string="Approve" class="oe_highlight"
attrs="{'invisible':['|','|',('is_approval_required','=',True),('am_i_owner','=',False),('state','not in',['draft', 'to approve'])]}"/> attrs="{'invisible':['|','|',('is_approval_required','=',True),('am_i_owner','=',False),('state','not in',['draft', 'to approve'])]}"/>
<!-- cancel if i am owner or approver --> <!-- cancel if i am owner or approver -->
<button name="page_approval_cancelled" type="object" string="Cancel" <button name="action_cancel" type="object" string="Cancel"
attrs="{'invisible':['|','&amp;',('am_i_owner','=',False),('am_i_approver','=',False),('state','not in',['draft','to approve'])]}"/> attrs="{'invisible':['|','&amp;',('am_i_owner','=',False),('am_i_approver','=',False),('state','not in',['draft','to approve'])]}"/>
<!-- reopen if i am owner or approver --> <!-- reopen if i am owner or approver -->
<button name="page_approval_draft" type="object" string="Back to draft" state="cancelled" <button name="action_draft" type="object" string="Back to draft"
attrs="{'invisible':['|','&amp;',('am_i_owner','=',False),('am_i_approver','=',False),('state','not in',['cancelled'])]}"/> attrs="{'invisible':['|','&amp;',('am_i_owner','=',False),('am_i_approver','=',False),('state','not in',['cancelled'])]}"/>
<!-- cancel & reopen, if i am owner or approver -->
<button name="action_draft" type="object" string="Back to draft"
attrs="{'invisible':['|','&amp;',('am_i_owner','=',False),('am_i_approver','=',False),('state','not in',['to approve'])]}"/>
<field name="am_i_owner" invisible="1"/> <field name="am_i_owner" invisible="1"/>
<field name="am_i_approver" invisible="1"/> <field name="am_i_approver" invisible="1"/>
<field name="is_approval_required" invisible="1"/> <field name="is_approval_required" invisible="1"/>
@ -36,9 +39,12 @@
<field name="approved_date" readonly="1" attrs="{'invisible':[('state','not in',['approved'])]}"/> <field name="approved_date" readonly="1" attrs="{'invisible':[('state','not in',['approved'])]}"/>
</group> </group>
</xpath> </xpath>
<field name="content" position="attributes"> <!-- Readonly fields -->
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft'])]}</attribute> <field name="content" position="attributes"><attribute name="attrs">{'readonly': [('state', 'not in', ['draft'])]}</attribute></field>
</field> <field name="page_id" position="attributes"><attribute name="attrs">{'readonly': [('state', 'not in', ['draft'])]}</attribute></field>
<field name="name" position="attributes"><attribute name="attrs">{'readonly': [('state', 'not in', ['draft'])]}</attribute></field>
<field name="summary" position="attributes"><attribute name="attrs">{'readonly': [('state', 'not in', ['draft'])]}</attribute></field>
<!-- Chatter -->
<sheet position="after"> <sheet position="after">
<div class="oe_chatter"> <div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/> <field name="message_follower_ids" widget="mail_followers"/>
@ -48,6 +54,19 @@
</field> </field>
</record> </record>
<!-- History Form View Manager Rights -->
<record id="wiki_history_form_inherit_manager" model="ir.ui.view">
<field name="name">document.page.history.form</field>
<field name="model">document.page.history</field>
<field name="inherit_id" ref="wiki_history_form_inherit"/>
<field name="groups_id" eval="[(6, 0, [ref('document_page.group_document_manager')])]"/>
<field name="arch" type="xml">
<!-- Readonly fields -->
<field name="name" position="attributes"><attribute name="attrs">{'readonly': False}</attribute></field>
<field name="summary" position="attributes"><attribute name="attrs">{'readonly': False}</attribute></field>
</field>
</record>
<!-- Page Form View --> <!-- Page Form View -->
<record id="wiki_form_inherit" model="ir.ui.view"> <record id="wiki_form_inherit" model="ir.ui.view">
<field name="name">document.page.form</field> <field name="name">document.page.form</field>
@ -64,17 +83,20 @@
attrs="{'invisible': [('is_approval_required','=',False)]}"> attrs="{'invisible': [('is_approval_required','=',False)]}">
This document requires approval. If edited, you will create a new <b>Change Request</b>. This document requires approval. If edited, you will create a new <b>Change Request</b>.
</div> </div>
<div class="alert alert-warning oe_edit_only" role="alert" style="margin-bottom:0px;"
attrs="{'invisible': [('user_has_drafts','=',False)]}">
<b>You already have a Draft Change Request for this page.</b>
It is highly recommended that you edit that one instead of creating a new one.
</div>
<field name="is_approval_required" invisible="1"/> <field name="is_approval_required" invisible="1"/>
<field name="has_changes_pending_approval" invisible="1"/> <field name="has_changes_pending_approval" invisible="1"/>
<field name="user_has_drafts" invisible="1"/>
</sheet> </sheet>
<field name="type" position="before"> <button name="toggle_active" position="after">
<div class="oe_button_box" name="button_box"> <button class="oe_stat_button" name="action_changes_pending_approval" string="Change Requests" type="object"
<button class="oe_stat_button" name="action_changes_pending_approval" attrs="{'invisible':[('has_changes_pending_approval','=',False),('user_has_drafts','=',False)]}" icon="fa-edit"/>
string="Change Requests" type="object" </button>
attrs="{'invisible':[('has_changes_pending_approval','=',False)]}" icon="fa-edit"/>
</div>
</field>
<field name="content_uid" position="after"> <field name="content_uid" position="after">
<field name="approved_uid"/> <field name="approved_uid"/>
@ -176,7 +198,7 @@
<field name="res_model">document.page.history</field> <field name="res_model">document.page.history</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
<field name="context">{'search_default_state':'to approve'}</field> <field name="context">{'search_default_draft': 1, 'search_default_pending': 1}</field>
</record> </record>
<menuitem id="menu_page_change_requests" <menuitem id="menu_page_change_requests"