diff --git a/document_page_approval/README.rst b/document_page_approval/README.rst index 7f3d78af..21b0cc54 100644 --- a/document_page_approval/README.rst +++ b/document_page_approval/README.rst @@ -34,7 +34,7 @@ To use this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/118/10.0 + :target: https://runbot.odoo-community.org/runbot/118/11.0 Known issues / Roadmap ====================== diff --git a/document_page_approval/__init__.py b/document_page_approval/__init__.py index a9f5c87d..f94cf31a 100644 --- a/document_page_approval/__init__.py +++ b/document_page_approval/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Savoir-faire Linux (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/document_page_approval/__manifest__.py b/document_page_approval/__manifest__.py index a2403bbb..61a39bfc 100644 --- a/document_page_approval/__manifest__.py +++ b/document_page_approval/__manifest__.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Savoir-faire Linux (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Document Page Approval', - 'version': '10.0.2.0.0', + 'version': '11.0.1.0.0', "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", @@ -15,7 +14,6 @@ ], 'data': [ 'data/email_template.xml', - 'workflows/document_page_approval.xml', 'views/document_page_approval.xml', 'security/document_page_security.xml', 'security/ir.model.access.csv', @@ -27,4 +25,5 @@ ], 'post_init_hook': 'post_init_hook', 'uninstall_hook': 'uninstall_hook', + 'installable': True, } diff --git a/document_page_approval/hooks.py b/document_page_approval/hooks.py index 4e02a759..212e6583 100644 --- a/document_page_approval/hooks.py +++ b/document_page_approval/hooks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2018 Ivan Todorovich () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/document_page_approval/i18n/am.po b/document_page_approval/i18n/am.po index 11f6e44c..09f59f16 100644 --- a/document_page_approval/i18n/am.po +++ b/document_page_approval/i18n/am.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"Language: am\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: am\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ar.po b/document_page_approval/i18n/ar.po index 1801eafe..491272b3 100644 --- a/document_page_approval/i18n/ar.po +++ b/document_page_approval/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/bg.po b/document_page_approval/i18n/bg.po index e5dbd659..e44b8c51 100644 --- a/document_page_approval/i18n/bg.po +++ b/document_page_approval/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/bs.po b/document_page_approval/i18n/bs.po index 7e88f7ee..31040acc 100644 --- a/document_page_approval/i18n/bs.po +++ b/document_page_approval/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ca.po b/document_page_approval/i18n/ca.po index de5b2f04..1903de21 100644 --- a/document_page_approval/i18n/ca.po +++ b/document_page_approval/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/cs.po b/document_page_approval/i18n/cs.po index a6d62538..a05971d1 100644 --- a/document_page_approval/i18n/cs.po +++ b/document_page_approval/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/da.po b/document_page_approval/i18n/da.po index cc858794..211f58ed 100644 --- a/document_page_approval/i18n/da.po +++ b/document_page_approval/i18n/da.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/de.po b/document_page_approval/i18n/de.po index bf27b401..e5119b76 100644 --- a/document_page_approval/i18n/de.po +++ b/document_page_approval/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Freigeben" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Neue Fassung des Dokuments %s freigegeben." @@ -240,3 +254,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/document_page_approval.pot b/document_page_approval/i18n/document_page_approval.pot new file mode 100644 index 00000000..1f7930ee --- /dev/null +++ b/document_page_approval/i18n/document_page_approval.pot @@ -0,0 +1,251 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_approval +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: document_page_approval +#: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval +msgid "\n" +" \n" +"

Hello,

\n" +"\n" +"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"\n" +"

${object.display_name}

\n" +"

\n" +"Modified by: ${object.create_uid.name}
\n" +"Date: ${object.create_date}
\n" +"

\n" +"\n" +"% if object.summary:\n" +"

Summary

\n" +"

${object.summary}

\n" +"% endif\n" +"\n" +"

Diff

\n" +"
\n" +"${object.diff|safe}\n" +"
\n" +"\n" +"

Have a great day.

\n" +"\n" +"--
\n" +"\n" +"

Odoo

\n" +" \n" +" " +msgstr "" + +#. 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_history_am_i_approver +msgid "Am I Approver" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner +msgid "Am I Owner" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_is_approval_required +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_is_approval_required +msgid "Approval required" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit +msgid "Approve" +msgstr "" + +#. module: document_page_approval +#: selection:document.page.history,state:0 +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +msgid "Approved" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approved_date +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_approved_date +msgid "Approved Date" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approved_uid +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_approved_uid +msgid "Approved by" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +#: model:res.groups,name:document_page_approval.group_document_approver_user +msgid "Approver" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approver_gid +msgid "Approver group" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approver_group_ids +msgid "Approver groups" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit +msgid "Back to draft" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit +msgid "Cancel" +msgstr "" + +#. module: document_page_approval +#: selection:document.page.history,state:0 +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +msgid "Cancelled" +msgstr "" + +#. module: document_page_approval +#: model:ir.actions.act_window,name:document_page_approval.action_change_requests +#: model:ir.ui.menu,name:document_page_approval.menu_page_change_requests +#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit +msgid "Change Requests" +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 +#, python-format +msgid "Change request %s has been cancelled by %s." +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 +#, python-format +msgid "Change request has been approved by %s." +msgstr "" + +#. module: document_page_approval +#: model:ir.model,name:document_page_approval.model_document_page +msgid "Document Page" +msgstr "" + +#. module: document_page_approval +#: model:ir.model,name:document_page_approval.model_document_page_history +msgid "Document Page History" +msgstr "" + +#. module: document_page_approval +#: selection:document.page.history,state:0 +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +msgid "Draft" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_group_ids +msgid "Groups that can approve changes to this document" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_has_changes_pending_approval +msgid "Has changes pending approval" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,help:document_page_approval.field_document_page_history_is_approval_required +#: model:ir.model.fields,help:document_page_approval.field_document_page_is_approval_required +msgid "If true, changes of this page require approval" +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 +#: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval +msgid "New version of ${object.display_name} needs your approval" +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 +#, python-format +msgid "New version of the document %s approved." +msgstr "" + +#. module: document_page_approval +#: selection:document.page.history,state:0 +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +msgid "Pending Approval" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approval_required +msgid "Require approval" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,help:document_page_approval.field_document_page_approval_required +msgid "Require approval for changes on this page or its child pages." +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit +msgid "Send to Review" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter +msgid "State" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_state +msgid "Status" +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit +msgid "This document has Changes Pending Approval. You are viewing the last approved content." +msgstr "" + +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit +msgid "This document requires approval. If edited, you will create a new Change Request." +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_page_url +msgid "URL" +msgstr "" + +#. module: document_page_approval +#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid +msgid "Users must also belong to the Approvers group" +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" + diff --git a/document_page_approval/i18n/el.po b/document_page_approval/i18n/el.po index 99cb8b73..59f2b825 100644 --- a/document_page_approval/i18n/el.po +++ b/document_page_approval/i18n/el.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n" +"Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/en_AU.po b/document_page_approval/i18n/en_AU.po index 018775cf..6cc5a170 100644 --- a/document_page_approval/i18n/en_AU.po +++ b/document_page_approval/i18n/en_AU.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: English (Australia) (https://www.transifex.com/oca/teams/23907/en_AU/)\n" +"Language-Team: English (Australia) (https://www.transifex.com/oca/" +"teams/23907/en_AU/)\n" +"Language: en_AU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en_AU\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/en_GB.po b/document_page_approval/i18n/en_GB.po index d72fb25f..735b5f68 100644 --- a/document_page_approval/i18n/en_GB.po +++ b/document_page_approval/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/" +"teams/23907/en_GB/)\n" +"Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en_GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es.po b/document_page_approval/i18n/es.po index 54906012..cb7d0d51 100644 --- a/document_page_approval/i18n/es.po +++ b/document_page_approval/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Aprobar" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Nueva versión del documento %s aprobada." @@ -240,3 +254,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_AR.po b/document_page_approval/i18n/es_AR.po index 9d9911b7..3b8289c4 100644 --- a/document_page_approval/i18n/es_AR.po +++ b/document_page_approval/i18n/es_AR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/23907/es_AR/)\n" +"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/" +"teams/23907/es_AR/)\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_AR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_CL.po b/document_page_approval/i18n/es_CL.po index 262fa081..730fbfb1 100644 --- a/document_page_approval/i18n/es_CL.po +++ b/document_page_approval/i18n/es_CL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Chile) (https://www.transifex.com/oca/teams/23907/es_CL/)\n" +"Language-Team: Spanish (Chile) (https://www.transifex.com/oca/teams/23907/" +"es_CL/)\n" +"Language: es_CL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_CO.po b/document_page_approval/i18n/es_CO.po index b4073a5c..b94a0ec7 100644 --- a/document_page_approval/i18n/es_CO.po +++ b/document_page_approval/i18n/es_CO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/es_CO/)\n" +"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/" +"es_CO/)\n" +"Language: es_CO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_CR.po b/document_page_approval/i18n/es_CR.po index 019360b4..c1a4d3e7 100644 --- a/document_page_approval/i18n/es_CR.po +++ b/document_page_approval/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/es_CR/)\n" +"Language: es_CR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Aprobar" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Nueva versión del documento %s aprobada." @@ -240,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_DO.po b/document_page_approval/i18n/es_DO.po index 8625b7c2..3ca49171 100644 --- a/document_page_approval/i18n/es_DO.po +++ b/document_page_approval/i18n/es_DO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Dominican Republic) (https://www.transifex.com/oca/teams/23907/es_DO/)\n" +"Language-Team: Spanish (Dominican Republic) (https://www.transifex.com/oca/" +"teams/23907/es_DO/)\n" +"Language: es_DO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_DO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_EC.po b/document_page_approval/i18n/es_EC.po index e84bd5ea..ec6f04da 100644 --- a/document_page_approval/i18n/es_EC.po +++ b/document_page_approval/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: es_EC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_EC\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_ES.po b/document_page_approval/i18n/es_ES.po index ec0b95ef..7c166172 100644 --- a/document_page_approval/i18n/es_ES.po +++ b/document_page_approval/i18n/es_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_ES\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_MX.po b/document_page_approval/i18n/es_MX.po index 3672b2df..a30f1b9c 100644 --- a/document_page_approval/i18n/es_MX.po +++ b/document_page_approval/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_PY.po b/document_page_approval/i18n/es_PY.po index c546e1fe..afe0b6ca 100644 --- a/document_page_approval/i18n/es_PY.po +++ b/document_page_approval/i18n/es_PY.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Paraguay) (https://www.transifex.com/oca/teams/23907/es_PY/)\n" +"Language-Team: Spanish (Paraguay) (https://www.transifex.com/oca/teams/23907/" +"es_PY/)\n" +"Language: es_PY\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_PY\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/es_VE.po b/document_page_approval/i18n/es_VE.po index 63e045a7..6afacfb3 100644 --- a/document_page_approval/i18n/es_VE.po +++ b/document_page_approval/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/et.po b/document_page_approval/i18n/et.po index 2619f3c2..36985306 100644 --- a/document_page_approval/i18n/et.po +++ b/document_page_approval/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/eu.po b/document_page_approval/i18n/eu.po index 0c9f2e70..57cbdf39 100644 --- a/document_page_approval/i18n/eu.po +++ b/document_page_approval/i18n/eu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/fa.po b/document_page_approval/i18n/fa.po index 55890877..7e53c192 100644 --- a/document_page_approval/i18n/fa.po +++ b/document_page_approval/i18n/fa.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Persian (https://www.transifex.com/oca/teams/23907/fa/)\n" +"Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fa\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/fi.po b/document_page_approval/i18n/fi.po index dcd340e4..ce1a170a 100644 --- a/document_page_approval/i18n/fi.po +++ b/document_page_approval/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/fr.po b/document_page_approval/i18n/fr.po index 46ae6b88..83ee4a8e 100644 --- a/document_page_approval/i18n/fr.po +++ b/document_page_approval/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Approuver" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/fr_CA.po b/document_page_approval/i18n/fr_CA.po index d6e243ef..91ad17ce 100644 --- a/document_page_approval/i18n/fr_CA.po +++ b/document_page_approval/i18n/fr_CA.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" +"fr_CA/)\n" +"Language: fr_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr_CA\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/gl.po b/document_page_approval/i18n/gl.po index 622da77f..604d04e6 100644 --- a/document_page_approval/i18n/gl.po +++ b/document_page_approval/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/gu.po b/document_page_approval/i18n/gu.po index 2ee774f2..36effb62 100644 --- a/document_page_approval/i18n/gu.po +++ b/document_page_approval/i18n/gu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Gujarati (https://www.transifex.com/oca/teams/23907/gu/)\n" +"Language: gu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/he.po b/document_page_approval/i18n/he.po index 97b019c1..f29df058 100644 --- a/document_page_approval/i18n/he.po +++ b/document_page_approval/i18n/he.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Hebrew (https://www.transifex.com/oca/teams/23907/he/)\n" +"Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: he\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/hi.po b/document_page_approval/i18n/hi.po index cdf31c42..4ac6403c 100644 --- a/document_page_approval/i18n/hi.po +++ b/document_page_approval/i18n/hi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Hindi (https://www.transifex.com/oca/teams/23907/hi/)\n" +"Language: hi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/hr.po b/document_page_approval/i18n/hr.po index e624926f..5d95ade0 100644 --- a/document_page_approval/i18n/hr.po +++ b/document_page_approval/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 # Bole , 2018 @@ -13,11 +13,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: Bole , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -26,7 +27,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -56,12 +58,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Odobri" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -133,13 +136,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -176,13 +179,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Nova verzija dokumenta %s odobrena" @@ -241,3 +256,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/hu.po b/document_page_approval/i18n/hu.po index 7a1e282f..4a4dd66b 100644 --- a/document_page_approval/i18n/hu.po +++ b/document_page_approval/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/hy.po b/document_page_approval/i18n/hy.po index cada6677..91deb8a3 100644 --- a/document_page_approval/i18n/hy.po +++ b/document_page_approval/i18n/hy.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Armenian (https://www.transifex.com/oca/teams/23907/hy/)\n" +"Language: hy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hy\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/id.po b/document_page_approval/i18n/id.po index 12d7540d..a5500b8a 100644 --- a/document_page_approval/i18n/id.po +++ b/document_page_approval/i18n/id.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" +"Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/it.po b/document_page_approval/i18n/it.po index 4e1b87ea..b868997e 100644 --- a/document_page_approval/i18n/it.po +++ b/document_page_approval/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 # Marco Calcagni , 2018 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: Marco Calcagni , 2018\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -26,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -56,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Approvare" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -133,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -176,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "La nuova versione del documento %s ĆØ approvata." @@ -241,3 +255,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ja.po b/document_page_approval/i18n/ja.po index 15549faf..0ceef4e0 100644 --- a/document_page_approval/i18n/ja.po +++ b/document_page_approval/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ka.po b/document_page_approval/i18n/ka.po index 876227d1..9a7281fe 100644 --- a/document_page_approval/i18n/ka.po +++ b/document_page_approval/i18n/ka.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Georgian (https://www.transifex.com/oca/teams/23907/ka/)\n" +"Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ka\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/kab.po b/document_page_approval/i18n/kab.po index a1fd5efe..26f19407 100644 --- a/document_page_approval/i18n/kab.po +++ b/document_page_approval/i18n/kab.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Kabyle (https://www.transifex.com/oca/teams/23907/kab/)\n" +"Language: kab\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: kab\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/kk.po b/document_page_approval/i18n/kk.po index 909f60c1..6c14734d 100644 --- a/document_page_approval/i18n/kk.po +++ b/document_page_approval/i18n/kk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Kazakh (https://www.transifex.com/oca/teams/23907/kk/)\n" +"Language: kk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: kk\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ko.po b/document_page_approval/i18n/ko.po index 5e081342..31e1066c 100644 --- a/document_page_approval/i18n/ko.po +++ b/document_page_approval/i18n/ko.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Korean (https://www.transifex.com/oca/teams/23907/ko/)\n" +"Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ln.po b/document_page_approval/i18n/ln.po index ff5c34ab..412d8148 100644 --- a/document_page_approval/i18n/ln.po +++ b/document_page_approval/i18n/ln.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Lingala (https://www.transifex.com/oca/teams/23907/ln/)\n" +"Language: ln\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ln\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/lo.po b/document_page_approval/i18n/lo.po index 65d80ece..ecd890c3 100644 --- a/document_page_approval/i18n/lo.po +++ b/document_page_approval/i18n/lo.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Lao (https://www.transifex.com/oca/teams/23907/lo/)\n" +"Language: lo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lo\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/lt.po b/document_page_approval/i18n/lt.po index f45785a7..90135cd0 100644 --- a/document_page_approval/i18n/lt.po +++ b/document_page_approval/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/lv.po b/document_page_approval/i18n/lv.po index f009e66a..5802b29b 100644 --- a/document_page_approval/i18n/lv.po +++ b/document_page_approval/i18n/lv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lv\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/mk.po b/document_page_approval/i18n/mk.po index c4910bc0..ae0fb6a2 100644 --- a/document_page_approval/i18n/mk.po +++ b/document_page_approval/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/mn.po b/document_page_approval/i18n/mn.po index 9c5ed494..d55721f5 100644 --- a/document_page_approval/i18n/mn.po +++ b/document_page_approval/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"Language: mn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/nb.po b/document_page_approval/i18n/nb.po index 011dd737..59be6738 100644 --- a/document_page_approval/i18n/nb.po +++ b/document_page_approval/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Norwegian BokmƄl (https://www.transifex.com/oca/teams/23907/nb/)\n" +"Language-Team: Norwegian BokmƄl (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/nl.po b/document_page_approval/i18n/nl.po index a26b61a5..2a47925f 100644 --- a/document_page_approval/i18n/nl.po +++ b/document_page_approval/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 # Michel V. , 2018 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: Michel V. , 2018\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -26,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -56,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Accordeer" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -133,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -176,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -241,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/nl_BE.po b/document_page_approval/i18n/nl_BE.po index d4d7b916..51441e98 100644 --- a/document_page_approval/i18n/nl_BE.po +++ b/document_page_approval/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/" +"nl_BE/)\n" +"Language: nl_BE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_BE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/nl_NL.po b/document_page_approval/i18n/nl_NL.po index a3391538..61036335 100644 --- a/document_page_approval/i18n/nl_NL.po +++ b/document_page_approval/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # Peter Hageman , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: Peter Hageman , 2018\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Goedkeuren" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +255,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/pl.po b/document_page_approval/i18n/pl.po index 01d9204b..c209ee10 100644 --- a/document_page_approval/i18n/pl.po +++ b/document_page_approval/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,13 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +27,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +58,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/pt.po b/document_page_approval/i18n/pt.po index b70c6612..97f32949 100644 --- a/document_page_approval/i18n/pt.po +++ b/document_page_approval/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # Pedro Castro Silva , 2018 # OCA Transbot , 2018 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -26,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -56,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Aprovar" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -133,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -176,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Uma nova versão do ocumento %s foi aprovada." @@ -241,3 +255,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/pt_BR.po b/document_page_approval/i18n/pt_BR.po index 7b41d3d0..a1f935aa 100644 --- a/document_page_approval/i18n/pt_BR.po +++ b/document_page_approval/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/pt_PT.po b/document_page_approval/i18n/pt_PT.po index 70ba7b8a..e22cd1b4 100644 --- a/document_page_approval/i18n/pt_PT.po +++ b/document_page_approval/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Aprovar" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Foi aprovada a nova versão do documento %s." @@ -240,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ro.po b/document_page_approval/i18n/ro.po index fb7acfd2..78265308 100644 --- a/document_page_approval/i18n/ro.po +++ b/document_page_approval/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/ru.po b/document_page_approval/i18n/ru.po index 082470b5..9fa60a61 100644 --- a/document_page_approval/i18n/ru.po +++ b/document_page_approval/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,13 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +27,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +58,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/sk.po b/document_page_approval/i18n/sk.po index 98dbcf66..9a6ef6da 100644 --- a/document_page_approval/i18n/sk.po +++ b/document_page_approval/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/sl.po b/document_page_approval/i18n/sl.po index 9a8491dd..243ef0d7 100644 --- a/document_page_approval/i18n/sl.po +++ b/document_page_approval/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,13 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" -msgstr "" +#, fuzzy +msgid "Am I Approver" +msgstr "Odobri" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "Nova verzija dokumenta %s odobrena." @@ -240,3 +255,9 @@ msgstr "URL" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/sr.po b/document_page_approval/i18n/sr.po index 24e0dda3..d5d1906b 100644 --- a/document_page_approval/i18n/sr.po +++ b/document_page_approval/i18n/sr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Serbian (https://www.transifex.com/oca/teams/23907/sr/)\n" +"Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/sr@latin.po b/document_page_approval/i18n/sr@latin.po index ab7440fc..f13617bc 100644 --- a/document_page_approval/i18n/sr@latin.po +++ b/document_page_approval/i18n/sr@latin.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr%40latin/)\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr" +"%40latin/)\n" +"Language: sr@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr@latin\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +27,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +58,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +135,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +178,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +255,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/sv.po b/document_page_approval/i18n/sv.po index fcf78caf..df82085c 100644 --- a/document_page_approval/i18n/sv.po +++ b/document_page_approval/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/th.po b/document_page_approval/i18n/th.po index c3f64051..bd9851d0 100644 --- a/document_page_approval/i18n/th.po +++ b/document_page_approval/i18n/th.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/tr.po b/document_page_approval/i18n/tr.po index 0aedb378..5590e4f6 100644 --- a/document_page_approval/i18n/tr.po +++ b/document_page_approval/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/uk.po b/document_page_approval/i18n/uk.po index a8be62b0..824e82fe 100644 --- a/document_page_approval/i18n/uk.po +++ b/document_page_approval/i18n/uk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n" +"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: uk\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: document_page_approval #: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/vi.po b/document_page_approval/i18n/vi.po index 23227aa3..42d7f391 100644 --- a/document_page_approval/i18n/vi.po +++ b/document_page_approval/i18n/vi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +25,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +56,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +133,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +176,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +253,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/zh_CN.po b/document_page_approval/i18n/zh_CN.po index 255ea84c..ce89235b 100644 --- a/document_page_approval/i18n/zh_CN.po +++ b/document_page_approval/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/i18n/zh_TW.po b/document_page_approval/i18n/zh_TW.po index 924adc5c..303ab148 100644 --- a/document_page_approval/i18n/zh_TW.po +++ b/document_page_approval/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_approval -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2018-04-24 22:33+0000\n" "PO-Revision-Date: 2018-04-24 22:33+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/" +"zh_TW/)\n" +"Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: document_page_approval @@ -25,7 +26,8 @@ msgid "" " \n" "

Hello,

\n" "\n" -"

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

\n" +"

${object.create_uid.name} submited a new Change Request for ${object." +"page_id.name} and it needs your approval.

\n" "\n" "

${object.display_name}

\n" "

\n" @@ -55,12 +57,12 @@ msgstr "" #. 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_history_am_i_approver -msgid "Am i approver" +msgid "Am I Approver" msgstr "" #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner -msgid "Am i owner" +msgid "Am I Owner" msgstr "" #. module: document_page_approval @@ -132,13 +134,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:109 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:90 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -175,13 +177,25 @@ msgstr "" msgid "If true, changes of this page require approval" 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 #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:97 +#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -240,3 +254,9 @@ msgstr "" #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#, python-format +msgid "You are not an appover to reset to draft" +msgstr "" diff --git a/document_page_approval/migrations/10.0.2.0.0/post-migration.py b/document_page_approval/migrations/10.0.2.0.0/post-migration.py deleted file mode 100644 index b9fd8954..00000000 --- a/document_page_approval/migrations/10.0.2.0.0/post-migration.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2018 Ivan Todorovich -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - - -def migrate(cr, version): # pragma: no cover - # Set all pre-existing pages history to approved - cr.execute(""" - UPDATE document_page_history - SET state='approved', - approved_uid=create_uid, - approved_date=create_date - WHERE state IS NULL - """) diff --git a/document_page_approval/models/__init__.py b/document_page_approval/models/__init__.py index 91075fe8..e1b9d5b5 100644 --- a/document_page_approval/models/__init__.py +++ b/document_page_approval/models/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- from . import document_page_approval, document_page_history_workflow diff --git a/document_page_approval/models/document_page_approval.py b/document_page_approval/models/document_page_approval.py index 5ff46dfe..370b4407 100644 --- a/document_page_approval/models/document_page_approval.py +++ b/document_page_approval/models/document_page_approval.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Savoir-faire Linux (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -123,7 +122,7 @@ class DocumentPageApproval(models.Model): @api.multi def _create_history(self, vals): res = super(DocumentPageApproval, self)._create_history(vals) - res.signal_workflow('document_page_auto_confirm') + res.document_page_auto_confirm() @api.multi def action_changes_pending_approval(self): diff --git a/document_page_approval/models/document_page_history_workflow.py b/document_page_approval/models/document_page_history_workflow.py index a745ea58..3944afec 100644 --- a/document_page_approval/models/document_page_history_workflow.py +++ b/document_page_approval/models/document_page_history_workflow.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Savoir-faire Linux (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -6,6 +5,7 @@ from datetime import datetime from odoo.tools.translate import _ from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT from odoo import api, fields, models +from odoo.exceptions import UserError class DocumentPageHistoryWorkflow(models.Model): @@ -21,6 +21,7 @@ class DocumentPageHistoryWorkflow(models.Model): ('cancelled', 'Cancelled')], 'Status', readonly=True, + default='draft' ) approved_date = fields.Datetime( @@ -42,7 +43,7 @@ class DocumentPageHistoryWorkflow(models.Model): ) am_i_approver = fields.Boolean( - related='page_id.am_i_approver' + compute='_compute_am_i_approver' ) page_url = fields.Text( @@ -53,8 +54,27 @@ class DocumentPageHistoryWorkflow(models.Model): @api.multi def page_approval_draft(self): """Set a change request as draft""" + if self.filtered(lambda r: r.state not in [ + 'cancelled', 'approved']): + raise UserError(_("It's not cancelled or approved")) + if self.filtered(lambda r: + r.state == 'approved' and not self.am_i_approver): + raise UserError(_("You are not an appover to reset to draft")) self.write({'state': 'draft'}) + @api.multi + def document_page_auto_confirm(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""" @@ -117,11 +137,18 @@ class DocumentPageHistoryWorkflow(models.Model): for rec in self: 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 def _compute_page_url(self): """Compute the page url.""" for page in self: - base_url = self.env['ir.config_parameter'].get_param( + base_url = self.env['ir.config_parameter'].sudo().get_param( 'web.base.url', default='http://localhost:8069' ) diff --git a/document_page_approval/tests/__init__.py b/document_page_approval/tests/__init__.py index 30782b8b..6f4fbfc9 100644 --- a/document_page_approval/tests/__init__.py +++ b/document_page_approval/tests/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- from . import test_document_page_approval diff --git a/document_page_approval/tests/test_document_page_approval.py b/document_page_approval/tests/test_document_page_approval.py index 5e4f89b5..8fcd73e9 100644 --- a/document_page_approval/tests/test_document_page_approval.py +++ b/document_page_approval/tests/test_document_page_approval.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from odoo.tests import common @@ -23,7 +22,7 @@ class TestDocumentPageApproval(common.TransactionCase): self.page2 = self.page_obj.create({ 'name': 'This page requires approval', 'parent_id': self.category2.id, - 'content': 'This content will require approval' + 'content': 'This content will require approval', }) def test_approval_required(self): @@ -48,7 +47,7 @@ class TestDocumentPageApproval(common.TransactionCase): self.assertTrue(chreq.am_i_approver) # approve - chreq.signal_workflow('page_approval_approve') + chreq.page_approval_approved() self.assertEqual(chreq.state, 'approved') self.assertEqual(chreq.content, page.content) @@ -59,7 +58,7 @@ class TestDocumentPageApproval(common.TransactionCase): ('page_id', '=', page.id), ('state', '!=', 'approved') ])[0] - chreq.signal_workflow('page_approval_approve') + chreq.page_approval_approved() self.assertEqual(page.content, 'New content') def test_change_request_auto_approve(self): @@ -75,7 +74,7 @@ class TestDocumentPageApproval(common.TransactionCase): self.history_obj.search([ ('page_id', '=', page.id), ('state', '!=', 'approved') - ]).signal_workflow('page_approval_approve') + ]).page_approval_approved() # new change request from scrath chreq = self.history_obj.create({ @@ -89,25 +88,25 @@ class TestDocumentPageApproval(common.TransactionCase): self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_uid, chreq.approved_uid) - chreq.signal_workflow('page_approval_to_approve') + chreq.page_approval_to_approve() self.assertEqual(chreq.state, 'to approve') self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_uid, chreq.approved_uid) - chreq.signal_workflow('page_approval_cancel') + chreq.page_approval_cancelled() self.assertEqual(chreq.state, 'cancelled') self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_uid, chreq.approved_uid) - chreq.signal_workflow('page_approval_reopen') + chreq.page_approval_draft() self.assertEqual(chreq.state, 'draft') self.assertNotEqual(page.content, chreq.content) self.assertNotEqual(page.approved_date, chreq.approved_date) self.assertNotEqual(page.approved_uid, chreq.approved_uid) - chreq.signal_workflow('page_approval_approve') + chreq.page_approval_approved() self.assertEqual(chreq.state, 'approved') self.assertEqual(page.content, chreq.content) self.assertEqual(page.approved_date, chreq.approved_date) diff --git a/document_page_approval/views/document_page_approval.xml b/document_page_approval/views/document_page_approval.xml index f6ff140d..3d7ec0cd 100644 --- a/document_page_approval/views/document_page_approval.xml +++ b/document_page_approval/views/document_page_approval.xml @@ -10,19 +10,19 @@

-