2
0

[FIX] Changed message for pre-commit

- Changed msg on languages that has been translated
This commit is contained in:
Eduardo De Miguel 2022-06-08 15:44:28 +02:00 committed by syera bonneaux
parent 3ae629f51d
commit 2bd5171315
11 changed files with 98 additions and 66 deletions

View File

@ -56,10 +56,13 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
#. module: account_fiscal_position_vat_check

View File

@ -63,14 +63,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Sie versuchen, eine Ausgangsrechnung/-gutschrift mit der Steuerzuordnung "
"'%s' zu genehmigen, für die der Kunde eine Umsatzsteuernummer benötigt. Der "
"Kunde '%s' hat aber keine USt-ID in Odoo. Bitte geben Sie die USt-ID des "
"'%(fp)s' zu genehmigen, für die der Kunde eine Umsatzsteuernummer benötigt. Der "
"Kunde '%(rp)s' hat aber keine USt-ID in Odoo. Bitte geben Sie die USt-ID des "
"Kunden in Odoo an und starten Sie die Prüfung erneut."
#. module: account_fiscal_position_vat_check

View File

@ -63,13 +63,16 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Está tratando de validar una factura/factura rectificativa con la posición "
"fiscal '%s' que requiere que el cliente tenga un NIF. Pero el cliente '%s' "
"fiscal '%(fp)s' que requiere que el cliente tenga un NIF. Pero el cliente '%(rp)s' "
"no tiene un NIF en sus datos. Añada por favor el NIF de este cliente e "
"intente validarla otra vez."

View File

@ -62,14 +62,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Vous essayez de valider une facture/remboursement client avec la position "
"fiscale '%s' qui exige que le client ait un numéro de TVA. Mais le client "
"'%s' n'a pas de numéro de TVA dans Odoo. Veuillez ajouter le numéro de TVA "
"fiscale '%(fp)s' qui exige que le client ait un numéro de TVA. Mais le client "
"'%(rp)s' n'a pas de numéro de TVA dans Odoo. Veuillez ajouter le numéro de TVA "
"de ce client dans Odoo et essayer de valider à nouveau."
#. module: account_fiscal_position_vat_check

View File

@ -59,14 +59,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Vous essayez de valider une facture/remboursement client avec la position "
"fiscale '%s' qui exige que le client ait un numéro de TVA. Mais le client "
"'%s' n'a pas de numéro de TVA dans Odoo. Veuillez ajouter le numéro de TVA "
"fiscale '%(fp)s' qui exige que le client ait un numéro de TVA. Mais le client "
"'%(rp)s' n'a pas de numéro de TVA dans Odoo. Veuillez ajouter le numéro de TVA "
"de ce client dans Odoo et essayer de valider à nouveau."
#. module: account_fiscal_position_vat_check

View File

@ -64,13 +64,16 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Pokušavate potvrditi račun ili odobrenje sa fiskalnom pozicijom '%s' koja "
"zahtijeva da partner ima unešen porezni broj, ali partner '%s' nema porezni "
"Pokušavate potvrditi račun ili odobrenje sa fiskalnom pozicijom '%(fp)s' koja "
"zahtijeva da partner ima unešen porezni broj, ali partner '%(rp)s' nema porezni "
"broj upisan u odoo. Molimo dodajte porezni broj ovog partnera i pokušajte "
"ponoviti potvrđivanje."

View File

@ -63,13 +63,16 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Pokušavate potvrditi račun ili povrat kupca sa fiskalnom pozivijom '%s' koja "
"zahtijva da partner ima unešen porezni broj. Kupac %s nema unešen porezni "
"Pokušavate potvrditi račun ili povrat kupca sa fiskalnom pozivijom '%(fp)s' koja "
"zahtijva da partner ima unešen porezni broj. Kupac '%(rp)s' nema unešen porezni "
"broj u sustavu, molimo uinestie ga i pokušajte potvrditi račun ponovo."
#. module: account_fiscal_position_vat_check

View File

@ -62,14 +62,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"U probeert een verkoop factuur/credit factuur te valideren met de volgende "
"fiscale positie '%s' waarvoor het is verplicht dat er een BTW nummer is "
"ingevuld. Maar voor de klant '%s' is geen BTW nummer bekend. Voeg het BTW "
"fiscale positie '%(fp)s' waarvoor het is verplicht dat er een BTW nummer is "
"ingevuld. Maar voor de klant '%(rp)s' is geen BTW nummer bekend. Voeg het BTW "
"nummer van deze klant toe en valideer opnieuw."
#. module: account_fiscal_position_vat_check

View File

@ -62,14 +62,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Está a tentar validar uma fatura ou reembolso com a posição fiscal '%s', que "
"Está a tentar validar uma fatura ou reembolso com a posição fiscal '%(fp)s', que "
"obriga a que o cliente tenha um NIFo que não acontece no caso do cliente "
"'%s'. Por favor, adicione um e tente validar novamente."
"'%(rp)s'. Por favor, adicione um e tente validar novamente."
#. module: account_fiscal_position_vat_check
#: model_terms:ir.ui.view,arch_db:account_fiscal_position_vat_check.view_partner_property_form

View File

@ -64,14 +64,17 @@ msgstr ""
#: code:addons/account_fiscal_position_vat_check/models/account_move.py:0
#, python-format
msgid ""
"You are trying to validate a customer invoice/refund with the fiscal "
"position '%s' that require the customer to have a VAT number. But the "
"Customer '%s' doesn't have a VAT number in Odoo. Please add the VAT number "
"of this Customer in Odoo and try to validate again."
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
msgstr ""
"Você está tentando validar uma fatura/reembolso de cliente com a posição "
"fiscal '%s' que requer que o cliente possua um número de Valor de Imposto "
"Atribuido. Mas o Cliente '%s' não possui este número no Odoo. Por favor "
"fiscal '%(fp)s' que requer que o cliente possua um número de Valor de Imposto "
"Atribuido. Mas o Cliente '%(rp)s' não possui este número no Odoo. Por favor "
"adicione o número de VIA deste Cliente no Odoo e tente validar novamente."
#. module: account_fiscal_position_vat_check

View File

@ -20,15 +20,17 @@ class AccountMove(models.Model):
):
raise UserError(
_(
"You are trying to validate a customer invoice/refund "
"with the fiscal position '%s' that require the customer "
"to have a VAT number. But the Customer '%s' doesn't have "
"a VAT number in Odoo. Please add the VAT number of this "
"Customer in Odoo and try to validate again."
)
% (
move.fiscal_position_id.display_name,
move.commercial_partner_id.display_name,
"You are trying to validate a customer "
"invoice/refund with the fiscal position '%(fp)s' "
"that require the customer to have a VAT number. "
"But the Customer '%(rp)s' "
"doesn't have a VAT number in Odoo. "
"Please add the VAT number of this Customer in Odoo "
"and try to validate again."
)
% {
"fp": move.fiscal_position_id.display_name,
"rp": move.commercial_partner_id.display_name,
}
)
return super()._post(soft=soft)