2
0

Merge PR #1671 into 16.0

Signed-off-by yajo
This commit is contained in:
OCA-git-bot 2023-06-23 11:42:24 +00:00
commit 05bad3fcab
3 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ msgstr ""
#. module: account_journal_general_sequence
#: model:ir.model.constraint,message:account_journal_general_sequence.constraint_account_move_entry_number_unique
msgid "Entry number must be unique per company."
msgid "Entry number must be unique per journal."
msgstr ""
#. module: account_journal_general_sequence

View File

@ -79,8 +79,8 @@ msgstr "Número de asiento"
#. module: account_journal_general_sequence
#: model:ir.model.constraint,message:account_journal_general_sequence.constraint_account_move_entry_number_unique
msgid "Entry number must be unique per company."
msgstr "El número de asiento debe ser único por compañía."
msgid "Entry number must be unique per journal."
msgstr "El número de asiento debe ser único por diario."
#. module: account_journal_general_sequence
#: model:ir.model.fields,field_description:account_journal_general_sequence.field_account_journal__id

View File

@ -15,8 +15,8 @@ class AccountMove(models.Model):
_sql_constraints = [
(
"entry_number_unique",
"UNIQUE(entry_number, company_id)",
"Entry number must be unique per company.",
"UNIQUE(entry_number, journal_id)",
"Entry number must be unique per journal.",
),
]