[MIG] account_journal_lock_date: Migration to 15.0
This commit is contained in:
parent
e6c0c55e55
commit
50970b8158
@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Account Journal Lock Date",
|
"name": "Account Journal Lock Date",
|
||||||
"summary": "Lock each journal independently",
|
"summary": "Lock each journal independently",
|
||||||
"version": "14.0.1.0.1",
|
"version": "15.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
|
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/account-financial-tools",
|
"website": "https://github.com/OCA/account-financial-tools",
|
||||||
@ -15,4 +15,5 @@
|
|||||||
"wizards/update_journal_lock_dates_views.xml",
|
"wizards/update_journal_lock_dates_views.xml",
|
||||||
],
|
],
|
||||||
"demo": [],
|
"demo": [],
|
||||||
|
"installable": True,
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,19 @@
|
|||||||
# Translation of Odoo Server.
|
# Translation of Odoo Server.
|
||||||
# This file contains the translation of the following modules:
|
# This file contains the translation of the following modules:
|
||||||
# * account_journal_lock_date
|
# * account_journal_lock_date
|
||||||
#
|
#
|
||||||
# Translators:
|
|
||||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 15.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-08-20 04:25+0000\n"
|
"POT-Creation-Date: 2022-05-18 15:07+0000\n"
|
||||||
"PO-Revision-Date: 2020-08-20 00:52-0400\n"
|
"PO-Revision-Date: 2022-05-18 15:07+0000\n"
|
||||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
"Language-Team: \n"
|
||||||
"Language: es\n"
|
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: \n"
|
||||||
"X-Generator: Poedit 2.0.6\n"
|
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
||||||
@ -27,17 +23,17 @@ msgstr "Cancelar"
|
|||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_uid
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_uid
|
||||||
msgid "Created by"
|
msgid "Created by"
|
||||||
msgstr ""
|
msgstr "Creado por"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_date
|
||||||
msgid "Created on"
|
msgid "Created on"
|
||||||
msgstr ""
|
msgstr "Creado en"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__display_name
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__display_name
|
||||||
msgid "Display Name"
|
msgid "Display Name"
|
||||||
msgstr ""
|
msgstr "Nombre a mostrar"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__id
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__id
|
||||||
@ -47,37 +43,35 @@ msgstr ""
|
|||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model,name:account_journal_lock_date.model_account_journal
|
#: model:ir.model,name:account_journal_lock_date.model_account_journal
|
||||||
msgid "Journal"
|
msgid "Journal"
|
||||||
msgstr "Diario"
|
msgstr "Libro diario"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model,name:account_journal_lock_date.model_account_move
|
#: model:ir.model,name:account_journal_lock_date.model_account_move
|
||||||
msgid "Journal Entries"
|
msgid "Journal Entry"
|
||||||
msgstr "Asientos Contables"
|
msgstr "Asiento contable"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update
|
||||||
msgid "Last Modified on"
|
msgid "Last Modified on"
|
||||||
msgstr ""
|
msgstr "Última modificación en"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_uid
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_uid
|
||||||
msgid "Last Updated by"
|
msgid "Last Updated by"
|
||||||
msgstr ""
|
msgstr "Última actualización por"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_date
|
||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr ""
|
msgstr "Última actualización en"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_bank_statement_import_journal_creation__fiscalyear_lock_date
|
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date
|
||||||
msgid "Lock Date"
|
msgid "Lock Date"
|
||||||
msgstr "Fecha de bloqueo"
|
msgstr "Fecha de bloqueo"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_bank_statement_import_journal_creation__period_lock_date
|
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date
|
||||||
msgid "Lock Date for Non-Advisers"
|
msgid "Lock Date for Non-Advisers"
|
||||||
@ -89,19 +83,17 @@ msgid "Mass Update Journal Lock Dates Wizard"
|
|||||||
msgstr "Asistente para la actualización masiva de fechas de bloqueo"
|
msgstr "Asistente para la actualización masiva de fechas de bloqueo"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_bank_statement_import_journal_creation__fiscalyear_lock_date
|
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
||||||
msgid ""
|
msgid ""
|
||||||
"No users, including Advisers, can edit accounts prior to and inclusive of "
|
"No users, including Advisers, can edit accounts prior to and inclusive of "
|
||||||
"this date for this journal. Use it for fiscal year locking for this journal, "
|
"this date for this journal. Use it for fiscal year locking for this journal,"
|
||||||
"for example."
|
" for example."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Ningún usuario, incluyendo Asesores, pueden editar cuentas antes de y en "
|
"Ningún usuario, incluyendo Asesores, pueden editar cuentas antes de y en "
|
||||||
"esta fecha para este diario. Utilícela, por ejemplo, para bloquear un año "
|
"esta fecha para este diario. Utilícela, por ejemplo, para bloquear un año "
|
||||||
"fiscal para este Diario."
|
"fiscal para este Diario."
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_bank_statement_import_journal_creation__period_lock_date
|
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date
|
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only users with the 'Adviser' role can edit accounts prior to and inclusive "
|
"Only users with the 'Adviser' role can edit accounts prior to and inclusive "
|
||||||
@ -109,8 +101,8 @@ msgid ""
|
|||||||
"fiscal year for this journal, for example."
|
"fiscal year for this journal, for example."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Sólo los usuarios con el rol 'Asesor' pueden editar cuentas antes de y en "
|
"Sólo los usuarios con el rol 'Asesor' pueden editar cuentas antes de y en "
|
||||||
"esta fecha para este Diario. Utilícelo para bloquear un período dentro de un "
|
"esta fecha para este Diario. Utilícelo para bloquear un período dentro de un"
|
||||||
"año fiscal abierto para este diario, por ejemplo."
|
" año fiscal abierto para este diario, por ejemplo."
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
||||||
@ -119,7 +111,6 @@ msgstr "Actualizar"
|
|||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.actions.act_window,name:account_journal_lock_date.update_journal_lock_dates_wizard_action
|
#: model:ir.actions.act_window,name:account_journal_lock_date.update_journal_lock_dates_wizard_action
|
||||||
#, fuzzy
|
|
||||||
msgid "Update journals lock dates"
|
msgid "Update journals lock dates"
|
||||||
msgstr "Actualizar fechas de bloqueo"
|
msgstr "Actualizar fechas de bloqueo"
|
||||||
|
|
||||||
@ -133,23 +124,20 @@ msgstr "No está autorizado a realizar esta acción."
|
|||||||
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You cannot add/modify entries for the journal '%s' prior to and inclusive of "
|
"You cannot add/modify entries for the journal '%(journal)s' prior to and "
|
||||||
"the lock date %s"
|
"inclusive of the lock date %(journal_date)s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"No puede añadir/modificar asientos para el diario '%s' con anterioridad y "
|
"No puede añadir/modificar asientos para el diario '%(journal)s' con anterioridad y "
|
||||||
"hasta la fecha de bloqueo %s"
|
"hasta la fecha de bloqueo %(journal_date)s"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You cannot add/modify entries for the journal '%s' prior to and inclusive of "
|
"You cannot add/modify entries for the journal '%(journal)s' prior to and "
|
||||||
"the lock date %s. Check the Journal settings or ask someone with the "
|
"inclusive of the lock date %(journal_date)s. Check the Journal settings or "
|
||||||
"'Adviser' role"
|
"ask someone with the 'Adviser' role"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"No puede añadir/modificar asientos para el Diario '%s' con anterioridad y "
|
"No puede añadir/modificar asientos para el Diario '%(journal)s' con anterioridad y "
|
||||||
"hasta la fecha de bloqueo %s. Compruebe la configuración del Diario o "
|
"hasta la fecha de bloqueo %(journal_date)s. Compruebe la configuración del Diario o "
|
||||||
"pregunte a alguien con el grupo de acceso 'Asesor'"
|
"pregunte a alguien con el grupo de acceso 'Asesor'"
|
||||||
|
|
||||||
#~ msgid "Account Entry"
|
|
||||||
#~ msgstr "Asiento contable"
|
|
||||||
|
@ -1,23 +1,19 @@
|
|||||||
# Translation of Odoo Server.
|
# Translation of Odoo Server.
|
||||||
# This file contains the translation of the following modules:
|
# This file contains the translation of the following modules:
|
||||||
# * account_journal_lock_date
|
# * account_journal_lock_date
|
||||||
#
|
#
|
||||||
# Translators:
|
|
||||||
# Bole <bole@dajmi5.com>, 2017
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 15.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2018-02-23 01:41+0000\n"
|
"POT-Creation-Date: 2022-05-18 15:16+0000\n"
|
||||||
"PO-Revision-Date: 2018-02-23 01:41+0000\n"
|
"PO-Revision-Date: 2022-05-18 15:16+0000\n"
|
||||||
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
"Language-Team: \n"
|
||||||
"Language: hr\n"
|
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
"Plural-Forms: \n"
|
||||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form
|
||||||
@ -51,9 +47,8 @@ msgstr "Dnevnik"
|
|||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model,name:account_journal_lock_date.model_account_move
|
#: model:ir.model,name:account_journal_lock_date.model_account_move
|
||||||
#, fuzzy
|
msgid "Journal Entry"
|
||||||
msgid "Journal Entries"
|
msgstr "Temeljnica"
|
||||||
msgstr "Dnevnik"
|
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update
|
||||||
@ -71,15 +66,12 @@ msgid "Last Updated on"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_bank_statement_import_journal_creation__fiscalyear_lock_date
|
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date
|
||||||
#, fuzzy
|
|
||||||
msgid "Lock Date"
|
msgid "Lock Date"
|
||||||
msgstr "Datum zaključavanja"
|
msgstr "Datum zaključavanja"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_bank_statement_import_journal_creation__period_lock_date
|
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date
|
||||||
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date
|
#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date
|
||||||
msgid "Lock Date for Non-Advisers"
|
msgid "Lock Date for Non-Advisers"
|
||||||
@ -91,16 +83,14 @@ msgid "Mass Update Journal Lock Dates Wizard"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_bank_statement_import_journal_creation__fiscalyear_lock_date
|
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date
|
||||||
msgid ""
|
msgid ""
|
||||||
"No users, including Advisers, can edit accounts prior to and inclusive of "
|
"No users, including Advisers, can edit accounts prior to and inclusive of "
|
||||||
"this date for this journal. Use it for fiscal year locking for this journal, "
|
"this date for this journal. Use it for fiscal year locking for this journal,"
|
||||||
"for example."
|
" for example."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_bank_statement_import_journal_creation__period_lock_date
|
|
||||||
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date
|
#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only users with the 'Adviser' role can edit accounts prior to and inclusive "
|
"Only users with the 'Adviser' role can edit accounts prior to and inclusive "
|
||||||
@ -126,31 +116,22 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
||||||
#, fuzzy, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You cannot add/modify entries for the journal '%s' prior to and inclusive of "
|
"You cannot add/modify entries for the journal '%(journal)s' prior to and "
|
||||||
"the lock date %s"
|
"inclusive of the lock date %(journal_date)s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Nije moguće unositi/uređivati stavke prije i uključivo sa datum "
|
"Ne možete dodati/izmijeniti unose za dnevnik '%(journal)s' prije i uključujući "
|
||||||
"zaključavanja dnevnika %s"
|
"datum zaključavanja %(journal_date)s"
|
||||||
|
|
||||||
#. module: account_journal_lock_date
|
#. module: account_journal_lock_date
|
||||||
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
#: code:addons/account_journal_lock_date/models/account_move.py:0
|
||||||
#, fuzzy, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You cannot add/modify entries for the journal '%s' prior to and inclusive of "
|
"You cannot add/modify entries for the journal '%(journal)s' prior to and "
|
||||||
"the lock date %s. Check the Journal settings or ask someone with the "
|
"inclusive of the lock date %(journal_date)s. Check the Journal settings or "
|
||||||
"'Adviser' role"
|
"ask someone with the 'Adviser' role"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Nije moguće unositi/uređivati stavke prije i uključivo sa datum "
|
"Ne možete dodavati/mijenjati unose za časopis '%(journal)s' prije i "
|
||||||
"zaključavanja dnevnika %s"
|
"uključujući datum zaključavanja %(journal_date)s. Provjerite postavke "
|
||||||
|
"dnevnika ili pitajte nekoga s ulogom 'Savjetnik'"
|
||||||
#~ msgid "Account Entry"
|
|
||||||
#~ msgstr "Stavka knjiženja"
|
|
||||||
|
|
||||||
#~ msgid ""
|
|
||||||
#~ "Moves cannot be entered nor modified in this journal prior to the lock "
|
|
||||||
#~ "date, unless the user has the Adviser role."
|
|
||||||
#~ msgstr ""
|
|
||||||
#~ "Stavke nije moguće unesti ili urediti u ovom dnevniku prije datuma "
|
|
||||||
#~ "zaključavanja, osim ukoliko korisnik ima rolu Savjetnika"
|
|
||||||
|
@ -33,15 +33,21 @@ class AccountMove(models.Model):
|
|||||||
lock_date = format_date(self.env, lock_date)
|
lock_date = format_date(self.env, lock_date)
|
||||||
if self.user_has_groups("account.group_account_manager"):
|
if self.user_has_groups("account.group_account_manager"):
|
||||||
message = _(
|
message = _(
|
||||||
"You cannot add/modify entries for the journal '%s' "
|
"You cannot add/modify entries for the journal '%(journal)s' "
|
||||||
"prior to and inclusive of the lock date %s"
|
"prior to and inclusive of the lock date %(journal_date)s"
|
||||||
) % (move.journal_id.display_name, lock_date)
|
) % {
|
||||||
|
"journal": move.journal_id.display_name,
|
||||||
|
"journal_date": lock_date,
|
||||||
|
}
|
||||||
else:
|
else:
|
||||||
message = _(
|
message = _(
|
||||||
"You cannot add/modify entries for the journal '%s' "
|
"You cannot add/modify entries for the journal '%(journal)s' "
|
||||||
"prior to and inclusive of the lock date %s. "
|
"prior to and inclusive of the lock date %(journal_date)s. "
|
||||||
"Check the Journal settings or ask someone "
|
"Check the Journal settings or ask someone "
|
||||||
"with the 'Adviser' role"
|
"with the 'Adviser' role"
|
||||||
) % (move.journal_id.display_name, lock_date)
|
) % {
|
||||||
|
"journal": move.journal_id.display_name,
|
||||||
|
"journal_date": lock_date,
|
||||||
|
}
|
||||||
raise UserError(message)
|
raise UserError(message)
|
||||||
return res
|
return res
|
||||||
|
@ -2,32 +2,28 @@
|
|||||||
<!-- Copyright 2017 ACSONE SA/NV
|
<!-- Copyright 2017 ACSONE SA/NV
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<record model="ir.ui.view" id="view_account_journal_form">
|
||||||
<record model="ir.ui.view" id="view_account_journal_form">
|
<field name="name">account.journal.form (in account_journal_lock_date)
|
||||||
<field
|
</field>
|
||||||
name="name"
|
<field name="model">account.journal</field>
|
||||||
>account.journal.form (in account_journal_lock_date)</field>
|
<field name="inherit_id" ref="account.view_account_journal_form" />
|
||||||
<field name="model">account.journal</field>
|
<field name="arch" type="xml">
|
||||||
<field name="inherit_id" ref="account.view_account_journal_form" />
|
<field name="account_control_ids" position="after">
|
||||||
<field name="arch" type="xml">
|
<field name="fiscalyear_lock_date" />
|
||||||
<field name="account_control_ids" position="after">
|
<field name="period_lock_date" />
|
||||||
<field name="fiscalyear_lock_date" />
|
|
||||||
<field name="period_lock_date" />
|
|
||||||
</field>
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</field>
|
||||||
<record model="ir.ui.view" id="view_account_journal_tree">
|
</record>
|
||||||
<field
|
<record model="ir.ui.view" id="view_account_journal_tree">
|
||||||
name="name"
|
<field name="name">account.journal.tree (in account_journal_lock_date)
|
||||||
>account.journal.tree (in account_journal_lock_date)</field>
|
</field>
|
||||||
<field name="model">account.journal</field>
|
<field name="model">account.journal</field>
|
||||||
<field name="inherit_id" ref="account.view_account_journal_tree" />
|
<field name="inherit_id" ref="account.view_account_journal_tree" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="type" position="after">
|
<field name="type" position="after">
|
||||||
<field name="fiscalyear_lock_date" />
|
<field name="fiscalyear_lock_date" />
|
||||||
<field name="period_lock_date" />
|
<field name="period_lock_date" />
|
||||||
</field>
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</field>
|
||||||
</data>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user