From 8ea02dbb11e62f9cb3942bf6d6c7760ce8da28a4 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 19 Sep 2023 16:27:55 +0200 Subject: [PATCH] [FIX] vat_return: fix crash in very specific scenario Improve 2 error messages --- .../data/l10n.fr.account.vat.box.csv | 3 - l10n_fr_account_vat_return/i18n/fr.po | 247 ++++++++++++------ .../i18n/l10n_fr_account_vat_return.pot | 54 +++- .../models/l10n_fr_account_vat_return.py | 41 ++- 4 files changed, 244 insertions(+), 101 deletions(-) diff --git a/l10n_fr_account_vat_return/data/l10n.fr.account.vat.box.csv b/l10n_fr_account_vat_return/data/l10n.fr.account.vat.box.csv index 2e9947fc6..bffb7f085 100644 --- a/l10n_fr_account_vat_return/data/l10n.fr.account.vat.box.csv +++ b/l10n_fr_account_vat_return/data/l10n.fr.account.vat.box.csv @@ -97,20 +97,17 @@ ca3_ku,3310CA3,670,,2C,KU,MOA,905882,True,,False,40,l10n_fr_account_vat_return.c ca3_he,3310CA3,690,,22A,HE,PCD,100094,True,,False,,,,,,,,,Coefficient de taxation unique applicable pour la période s'il est différent de 100 %,Pourcentage de déduction applicable pour la période s'il est différent de 100 %,3,291,622 ca3_hf,3310CA3,710,,24,HF,MOA,909864,True,,False,,,,,,,,,Dont TVA déductible sur importations (hors produits pétroliers),Dont TVA déductible sur importations (hors produits pétroliers),3,572,614 ca3_hl,3310CA3,720,,2E,HL,MOA,910763,True,,False,,,,,,,,,Dont TVA déductible sur les produits pétroliers,Dont TVA déductible sur les produits pétroliers,3,572,596 -,,,,,,,,,,,,,,,,,,,,,,, ca3_section_credit,3310CA3,800,section,,,,,True,,False,,,,,,,,,CRÉDIT,CRÉDIT,,, ca3_jc,3310CA3,890,,27,JC,MOA,100098,True,end_total_credit,False,,,,,,debit,44567,,Crédit à reporter (lignes 25 - 26 - AA),Crédit à reporter sur déclaration suivante,3,288,251 ca3_ja,3310CA3,810,,25,JA,MOA,100096,True,no_push_total_credit,False,100,l10n_fr_account_vat_return.ca3_jc,,,,,,,Crédit de TVA (lignes 23 - 16),Crédit de TVA,3,288,548 ca3_jb,3310CA3,820,,26,JB,MOA,100097,True,vat_reimbursement,False,100,l10n_fr_account_vat_return.ca3_jc,-100,,,debit,44583,,Remboursement de crédit demandé sur formulaire n°3519,Remboursement de crédit demandé sur formulaire n°3519,3,288,300 ca3_kj,3310CA3,830,,AA,KJ,MOA,902351,True,,False,100,l10n_fr_account_vat_return.ca3_jc,-100,,,,,,Crédit de TVA transféré à la société tête de groupe,Crédit de TVA transféré à la société tête de groupe,3,288,277 -,,,,,,,,,,,,,,,,,,,,,,, ca3_section_taxe_a_payer,3310CA3,900,section,,,,,True,,False,,,,,,,,,TAXE À PAYER,TAXE À PAYER,,, ca3_ke,3310CA3,990,,32,KE,MOA,100103,True,end_total_debit,False,,,,,,,,,Total à payer (lignes 28 + 29 - AB),Total à payer,3,572,173 ca3_nd,3310CA3,915,,28,ND,MOA,912255,True,,False,110,l10n_fr_account_vat_return.ca3_ke,,,,,,,TVA nette due (ligne TD - ligne X5),TVA nette due (ligne TD - ligne X5),3,572,277 ca3_ka,3310CA3,910,,TD,KA,MOA,100099,True,no_push_total_debit,False,100,l10n_fr_account_vat_return.ca3_nd,,,,credit,44551,,TVA nette due (lignes 16 - 23),TVA nette due,3,572,548 ca3_kb,3310CA3,920,,29,KB,MOA,100100,True,,False,110,l10n_fr_account_vat_return.ca3_ke,,,,credit,4470,,Report du montant de taxes assimilées calculées sur annexe 3310A,Report du montant de taxes assimilées calculées sur annexe 3310A,3,572,251 ca3_kl,3310CA3,930,,AB,KL,MOA,902352,True,,False,110,l10n_fr_account_vat_return.ca3_ke,-100,,,,,,Total à payer acquitté par la société tête de groupe (lignes 28 + 29),Total à payer acquitté par la société tête de groupe,3,572,199 -,,,,,,,,,,,,,,,,,,,,,,, a_section_tva,3310A,2000,section,,,,,False,,False,,,,,,,,,RETENUE DE TVA SUR DROITS D’AUTEUR ET TVA DUE À UN TAUX PARTICULIER,,,, a_bn,3310A,2280,,,BN,MOA,,False,,False,,,,,,,,,Total lignes 35 à 46 : base HT (à reporter ligne 14 de la CA3),Total TVA sur droits d'auteurs et TVA due à taux particuliers : base HT (à reporter ligne 14 de la CA3),,, a_cn,3310A,2290,,,CN,MOA,,False,,False,,,,,,,,,Total lignes 35 à 46 : taxe due (à reporter ligne 14 de la CA3),Total TVA sur droits d'auteurs et TVA due à taux particuliers : taxe due (à reporter ligne 14 de la CA3),,, diff --git a/l10n_fr_account_vat_return/i18n/fr.po b/l10n_fr_account_vat_return/i18n/fr.po index 600c63084..d48898c92 100644 --- a/l10n_fr_account_vat_return/i18n/fr.po +++ b/l10n_fr_account_vat_return/i18n/fr.po @@ -6,11 +6,10 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-09 07:29+0000\n" -"PO-Revision-Date: 2023-09-09 07:30+0000\n" -"Last-Translator: Alexis de Lattre \n" +"POT-Creation-Date: 2023-09-19 13:37+0000\n" +"PO-Revision-Date: 2023-09-19 13:37+0000\n" +"Last-Translator: \n" "Language-Team: \n" -"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -18,12 +17,15 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "%(invoice)s (%(partner)s) is unpaid, Unpaid VAT amount %(amount)s" -msgstr "%(invoice)s (%(partner)s) est impayée, Montant de TVA impayée %(amount)s" +msgstr "" +"%(invoice)s (%(partner)s) est impayée, Montant de TVA impayée %(amount)s" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "%(invoice)s (%(partner)s) was unpaid on %(date)s, Unpaid VAT amount " @@ -34,6 +36,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "%(invoice)s of customer %(partner)s from Monaco, VAT amount %(vat_amount)s" @@ -42,12 +45,14 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "%(start_note)s, Rate %(rate).2f%% → Base %(base_amount)s" msgstr "%(start_note)s, Taux %(rate).2f%% → Base %(base_amount)s" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "%(unpaid_ratio)d%% of %(invoice)s (%(partner)s) was unpaid on %(date)s, VAT " @@ -59,6 +64,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "%s (add)" msgstr "%s (ajout)" @@ -67,13 +73,13 @@ msgstr "%s (ajout)" #: model:ir.model.fields.selection,name:l10n_fr_account_vat_return.selection__l10n_fr_account_vat_box__form_code__3310a #: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_box_search msgid "3310-A" -msgstr "3310-A" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields.selection,name:l10n_fr_account_vat_return.selection__l10n_fr_account_vat_box__form_code__3310ca3 #: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_box_search msgid "3310-CA3" -msgstr "3310-CA3" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.constraint,message:l10n_fr_account_vat_return.constraint_l10n_fr_account_vat_return_start_company_uniq @@ -92,10 +98,11 @@ msgstr "Compte" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Account '%(account)s' is used as due VAT account on several auto-liquidation " -"taxes for different rates (%(rate1).2f%% and %(rate2).2f%%)." +"Account '%(account)s' is used as due VAT account on several auto-liquidation" +" taxes for different rates (%(rate1).2f%% and %(rate2).2f%%)." msgstr "" "Le compte \"%(account)s\" est utilisé comme compte de TVA due sur plusieurs " "taxes d'auto-liquidation pour différents taux (%(rate1).2f%% et " @@ -103,6 +110,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%(account)s' is used for several kinds of deductible VAT taxes " @@ -113,16 +121,18 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%(account)s' is used on several sale VAT taxes for different rates " "(%(rate1).2f%% and %(rate2).2f%%)." msgstr "" -"Le compte \"%(account)s\" est utilisé pour plusieurs taxes de TVA à la vente " -"pour des taux différents (%(rate1).2f%% et %(rate2).2f%%)." +"Le compte \"%(account)s\" est utilisé pour plusieurs taxes de TVA à la vente" +" pour des taux différents (%(rate1).2f%% et %(rate2).2f%%)." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%s' is an account for autoliquidation, so it's reconcile option " @@ -133,6 +143,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Account '%s' is present in the mapping of several fiscal positions." msgstr "" @@ -146,6 +157,7 @@ msgstr "Modèle de plan comptable" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Account is missing on manual line '%s'." msgstr "Le compte est manquant sur la ligne manuelle '%s'." @@ -194,15 +206,17 @@ msgstr "Ajustement" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Adjustment to have sum of taxed operations boxes %(taxed_op_boxes)s = sum of " -"due VAT base boxes %(due_vat_boxes)s. Otherwise, DGFiP would reject the VAT " -"return." +"Adjustment to have sum of taxed operations boxes %(taxed_op_boxes)s = sum of" +" due VAT base boxes %(due_vat_boxes)s. Otherwise, DGFiP would reject the VAT" +" return." msgstr "" "Ajustement pour que la somme des cases des opérations taxées " -"%(taxed_op_boxes)s soit égale à la somme des cases des bases de TVA due %(due_vat_boxes)s. " -"Dans le cas contraire, la DGFiP rejetterait la déclaration de TVA." +"%(taxed_op_boxes)s soit égale à la somme des cases des bases de TVA due " +"%(due_vat_boxes)s. Dans le cas contraire, la DGFiP rejetterait la " +"déclaration de TVA." #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return_line_log__amount @@ -245,6 +259,7 @@ msgstr "Auto-liquidation" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Auto-liquidation tax '%s' is not present in the tax mapping of any fiscal " @@ -281,12 +296,14 @@ msgstr "Base depuis TVA sur les encaissements impayée" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 +#: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 #, python-format msgid "Based on invoice" msgstr "TVA sur les débits" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 +#: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 #, python-format msgid "Based on payment" msgstr "TVA sur les encaissements" @@ -298,6 +315,7 @@ msgstr "Booléen (CCI/TBX)" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 +#: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 #, python-format msgid "Both (automatic)" msgstr "Les deux (automatique)" @@ -309,6 +327,7 @@ msgstr "Case" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Box '%(box)s' has a push box '%(push_box)s' that is configured as manual." @@ -318,10 +337,11 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Box '%(box)s' is configured with Manual Account Code '%(account_code)s', but " -"there are no accounts that start with this code in company '%(company)s'. " +"Box '%(box)s' is configured with Manual Account Code '%(account_code)s', but" +" there are no accounts that start with this code in company '%(company)s'. " "You may want to setup a specific account on that box." msgstr "" "La case '%(box)s' est configurée avec le code de compte manuel " @@ -331,22 +351,25 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Box '%s' doesn't have a push box, so it's push rate should be 0." msgstr "" -"La case '%s' n'est poussée sur aucune case, donc son taux de poussée devrait " -"être à 0." +"La case '%s' n'est poussée sur aucune case, donc son taux de poussée devrait" +" être à 0." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Box '%s' doesn't have a push box, so it's push sequence should be 0." msgstr "" -"La case '%s' n'est poussée sur aucune case, donc sa séquence de poussée doit " -"être égale à 0." +"La case '%s' n'est poussée sur aucune case, donc sa séquence de poussée doit" +" être égale à 0." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Box '%s' doesn't have an accounting method, so it should not have any " @@ -357,6 +380,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Box '%s' has a push box but is missing a push sequence." msgstr "" @@ -365,6 +389,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Box '%s' should not have an accounting method considering it's an untaxed " @@ -401,12 +426,13 @@ msgstr "Annuler" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Cannot delete VAT return '%s' because it is not in 'Manual Lines' state." msgstr "" -"Vous ne pouvez pas supprimer la déclaration de TVA '%s' car elle n'est pas à " -"l'état 'Lignes manuelles'." +"Vous ne pouvez pas supprimer la déclaration de TVA '%s' car elle n'est pas à" +" l'état 'Lignes manuelles'." #. module: l10n_fr_account_vat_return #: model:ir.model,name:l10n_fr_account_vat_return.model_l10n_fr_vat_exigibility_update @@ -427,7 +453,7 @@ msgstr "Chaîne de caractère (FTX)" #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__code #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return_line__box_code msgid "Code" -msgstr "Code" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return_reimbursement__reimbursement_comment_dgfip @@ -437,6 +463,7 @@ msgstr "Commentaire pour la DGFIP" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__comment_dgfip #, python-format msgid "Comment for DGFiP" @@ -510,7 +537,7 @@ msgstr "Montant de TVA calculé" #. module: l10n_fr_account_vat_return #: model:ir.model,name:l10n_fr_account_vat_return.model_res_config_settings msgid "Config Settings" -msgstr "Configuration" +msgstr "Page de configuration" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__create_uid @@ -540,6 +567,7 @@ msgstr "Date de création" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "Creation Date is not set." msgstr "La date de création n'est pas renseignée." @@ -557,12 +585,14 @@ msgstr "Remboursement de crédit de TVA" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Credit VAT Reimbursement removed." msgstr "Retrait de la demande de remboursement de crédit de TVA." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "Credit VAT reimbursement of %d € submitted." msgstr "Envoi d'une demande de remboursement de crédit de TVA de %d €." @@ -628,6 +658,7 @@ msgstr "Base de TVA due" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Due VAT box '%(due_vat_box)s' has print Y %(due_vat_box_print_y)s whereas " @@ -642,7 +673,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_box_form msgid "EDI" -msgstr "EDI" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__edi_code @@ -658,6 +689,7 @@ msgstr "Type EDI" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "EDI type not supported for box '%s'." msgstr "Le type EDI de la case '%s' n'est pas supporté." @@ -679,6 +711,7 @@ msgstr "Solde x ratio" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Error in the generation of box '%s': it has an accounting method, so it " @@ -689,13 +722,14 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Error in the generation of the computation and accounting details of box " "'%s': this box has an accounting method but the account is not set." msgstr "" -"Erreur dans la génération des paramètres de calcul et de comptabilisation de " -"la case '%s' : cette case a une méthode de comptabilisation mais le compte " +"Erreur dans la génération des paramètres de calcul et de comptabilisation de" +" la case '%s' : cette case a une méthode de comptabilisation mais le compte " "n'est pas configuré." #. module: l10n_fr_account_vat_return @@ -706,6 +740,7 @@ msgstr "Date de survenance" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "Event Date is not set." msgstr "La date de survenance n'est pas configurée." @@ -817,7 +852,7 @@ msgstr "Code comptable générique" #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_res_company__id #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_res_config_settings__id msgid "ID" -msgstr "ID" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__activity_exception_icon @@ -844,15 +879,16 @@ msgstr "Si activé, des messages ont une erreur d'envoi." #: model:ir.model.fields,help:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__account_id msgid "" "If not set, Odoo will use the first account that starts with the Generic " -"Account Code. If set, Odoo will ignore the Generic Account Code and use this " -"account." +"Account Code. If set, Odoo will ignore the Generic Account Code and use this" +" account." msgstr "" "Si non renseigné, Odoo utilisera le premier compte qui commence par le code " -"comptable générique. Si renseigné, Odoo ignorera le code comptable générique " -"et l'utilisera comme compte comptable." +"comptable générique. Si renseigné, Odoo ignorera le code comptable générique" +" et l'utilisera comme compte comptable." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 #, python-format msgid "" "If you don't want to change the VAT Exigibility of company '%s', click on " @@ -884,18 +920,19 @@ msgstr "Écriture comptable" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Journal entry '%(move)s' is dated before (or on) %(end_date)s and has an " -"unreconciled line with an %(autoliq_type)s autoliquidation due VAT account, " -"but it is not a supplier invoice/refund. That line with the intracom " -"autoliquidation due VAT account should be reconciled." +"Journal entry '%(move)s' dated %(date)s is inside or before the VAT period " +"%(vat_period)s and has an unreconciled journal item with an %(autoliq_type)s" +" autoliquidation due VAT account '%(account)s', but it is not a supplier " +"invoice/refund. That journal item should be reconciled." msgstr "" -"La pièce comptable \"%(move)s\" est datée d'avant le (ou du jour) " -"%(end_date)s et comporte une ligne non lettrée avec un compte de TVA due à " -"l'autoliquidation %(autoliq_type)s, mais il ne s'agit pas d'une facture/" -"avoir fournisseur. Cette ligne avec le compte de TVA due à l'autoliquidation " -"intracom doit être lettrée." +"La pièce comptable \"%(move)s\" datée du %(date)s est comprise dans ou " +"antérieure à la période de TVA %(vat_period)s et comporte une ligne non " +"lettrée avec un compte d'autoliquidation de TVA %(autoliq_type)s " +"\"%(account)s\" , mais il ne s'agit pas d'une facture/avoir " +"fournisseur. Cette écriture comptable doit être lettrée." #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_res_company__fr_vat_journal_id @@ -905,6 +942,7 @@ msgstr "Journal pour l'OD de TVA" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Journal for VAT Journal Entry is not set on company '%s'." msgstr "" @@ -1000,10 +1038,11 @@ msgstr "Erreur d'envoi du message" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__message_ids msgid "Messages" -msgstr "Messages" +msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Missing Due VAT Base on box '%s' which is a Due VAT box." msgstr "" @@ -1012,12 +1051,15 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Missing account mapping on fiscal position '%s'." -msgstr "Table de correspondance des comptes vide sur la position fiscale '%s'." +msgstr "" +"La table de correspondance des comptes est vide sur la position fiscale '%s'." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Missing print caracteristics on box '%s'." msgstr "Paramètres d'impression manquants pour la case '%s'." @@ -1081,12 +1123,14 @@ msgstr "Type de l'activité suivante" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"No account mapping on fiscal position %(fiscal_position)s. If this " -"fiscal position is not only used for purchase but also for sale, you must " -"configure an account mapping on revenue accounts." +"No account mapping on fiscal position %(fiscal_position)s. If this fiscal position " +"is not only used for purchase but also for sale, you must configure an " +"account mapping on revenue accounts." msgstr "" "Table de correspondance des comptes vide sur la position fiscale <a " "href=# data-oe-model=account.fiscal.position data-oe-" @@ -1103,12 +1147,12 @@ msgstr "Aucune section" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return_line_log__note msgid "Note" -msgstr "Note" +msgstr "" #. module: l10n_fr_account_vat_return #: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_return_line_log_form msgid "Notes" -msgstr "Notes" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__message_needaction_counter @@ -1137,6 +1181,7 @@ msgstr "Nombre de messages non lus" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "On box '%s', the Account Code is not set. You may want to setup a specific " @@ -1147,6 +1192,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "On the autoliquidation tax '%(tax)s', the distribution for invoices should " @@ -1158,7 +1204,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__print_page msgid "Page" -msgstr "Page" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model,name:l10n_fr_account_vat_return.model_account_partial_reconcile @@ -1217,11 +1263,6 @@ msgstr "Position Y pour l'impression" msgid "Push Box" msgstr "Case poussée" -#. module: l10n_fr_account_vat_return -#: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_box_form -msgid "Push Compute" -msgstr "Calcul poussé" - #. module: l10n_fr_account_vat_return #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_box__push_rate msgid "Push Rate" @@ -1256,6 +1297,7 @@ msgstr "Commentaire remboursement pour la DGFIP" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__reimbursement_comment_dgfip #, python-format msgid "Reimbursement Comment for DGFiP" @@ -1301,7 +1343,7 @@ msgstr "Deuxième page" #. module: l10n_fr_account_vat_return #: model:ir.model.fields.selection,name:l10n_fr_account_vat_return.selection__l10n_fr_account_vat_box__display_type__section msgid "Section" -msgstr "Section" +msgstr "" #. module: l10n_fr_account_vat_return #: model:ir.model.fields.selection,name:l10n_fr_account_vat_return.selection__l10n_fr_account_vat_return__state__sent @@ -1367,6 +1409,7 @@ msgstr "Taxe" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Tax '%(tax)s' has an account for invoice (%(invoice_account)s) which is " @@ -1379,6 +1422,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Tax '%s' should have only one distribution line for credit notes configured " @@ -1389,14 +1433,20 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Tax '%s' should have only one distribution line for invoices configured with " -"an account and with '100%% of tax'." +"Tax '%s' should have only one distribution line for invoices configured with" +" an account and with '100%% of tax'." msgstr "" "La taxe '%s' ne devrait avoir qu'une seule ligne de distribution pour les " "factures configurée avec un compte comptable et avec '100%% de la taxe'." +#. module: l10n_fr_account_vat_return +#: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_box_form +msgid "Technical" +msgstr "Technique" + #. module: l10n_fr_account_vat_return #: model:ir.model,name:l10n_fr_account_vat_return.model_account_fiscal_position_template msgid "Template for Fiscal Position" @@ -1419,6 +1469,7 @@ msgstr "Le taux de TVA due doit être inférieur à 10000." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "The Journal Entry of this VAT return has been cancelled. You should set it " @@ -1429,22 +1480,25 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The Journal Entry of this VAT return has been deleted." msgstr "La pièce comptable de cette déclaration de TVA a été supprimée." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"The balance of account '%(account)s' is %(balance)s. In France, it should be " -"a integer amount." +"The balance of account '%(account)s' is %(balance)s. In France, it should be" +" a integer amount." msgstr "" "Le solde du compte '%(account)s' est %(balance)s. En France, il devrait " "s'agir d'un montant entier." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "The balance of account '%(account)s' is %(balance)s. It should always be " @@ -1455,54 +1509,63 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "The box '%s' is a negative box but its EDI Type is not 'MOA'." msgstr "La case '%s' est une case négative mais son type EDI n'est pas 'MOA'." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "The box '%s' must have a code." msgstr "La case '%s' doit avoir un code." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "The box '%s' must have an EDI code." msgstr "La case '%s' doit avoir un code EDI." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "The box '%s' must have an EDI type." msgstr "La case '%s' doit avoir un type EDI." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "The creation date must be in the past." msgstr "La date de création doit être dans le passé." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 #, python-format msgid "The date cannot be in the future." msgstr "La date ne peut pas être dans le futur." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The declaration %s doesn't contain any line." msgstr "La déclaration %s ne contient aucune ligne." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "The event date must be in the past." msgstr "La date de l'évênement doit être dans le passé." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "The field '%(field_label)s' is too long: it has %(count_char)d caracters " @@ -1513,10 +1576,11 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"The journal entry '%s' generated by the VAT return cannot be deleted because " -"it is already posted." +"The journal entry '%s' generated by the VAT return cannot be deleted because" +" it is already posted." msgstr "" "La pièce comptable '%s' générée par la déclaration de TVA ne peut pas être " "supprimée car elle est déjà comptabilisée." @@ -1533,61 +1597,69 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "" "The reimbursement amount (%(amount)d €) cannot be superior to the amount of " "the VAT credit (%(vat_credit_amount)d €)." msgstr "" -"Le montant du remboursement (%(amount)d €) ne peut être supérieur au montant " -"du crédit de TVA (%(vat_credit_amount)d €)." +"Le montant du remboursement (%(amount)d €) ne peut être supérieur au montant" +" du crédit de TVA (%(vat_credit_amount)d €)." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "" "The reimbursement amount (%(amount)d €) cannot be under the minimum amount " "(%(min_amount)d €)." msgstr "" -"Le montant du remboursement (%(amount)d €) ne peut être inférieur au montant " -"minimum (%(min_amount)d €)." +"Le montant du remboursement (%(amount)d €) ne peut être inférieur au montant" +" minimum (%(min_amount)d €)." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "The section or sub-section '%s' is not properly configured." msgstr "La section ou sous-section '%s' n'est pas correctement configurée." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The start date (%s) must be the first day of a quarter." msgstr "La date de début (%s) doit être le premier jour d'un trimestre." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The start date (%s) must be the first day of the month." msgstr "La date de début (%s) doit être le premier jour d'un mois." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The value of line '%(box)s' (%(value)d) is negative." msgstr "La valeur de la ligne \"%(box)s\" (%(value)d) est négative." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "The value of line '%(box)s' (%(value)d) is over 100." msgstr "La valeur de la ligne \"%(box)s\" (%(value)d) est supérieure à 100." #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There are %(account_count)s accounts whose code start with " -"%(account_prefix)s in company '%(company)s' : %(account_list)s. Odoo expects " -"to have only one." +"%(account_prefix)s in company '%(company)s' : %(account_list)s. Odoo expects" +" to have only one." msgstr "" "Il y a %(account_count)s comptes dont le code commence par " "%(account_prefix)s dans la société '%(company)s' : %(account_list)s. Odoo " @@ -1595,6 +1667,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There are %(count)d accounts %(account_code)s %(account_name)s in the chart " @@ -1605,6 +1678,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There are still On Payment taxes in company '%s'. To handle on payment VAT, " @@ -1618,6 +1692,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There is a difference of %(diff)s € between taxed operation boxes " @@ -1631,6 +1706,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There is a problem on the intracom vendor bill/refund '%s': check that the " @@ -1638,9 +1714,9 @@ msgid "" "system for autoliquidation which was used by Odoo up to version 12.0 " "included." msgstr "" -"Il y a un problème sur la facture/avoir fournisseur intracommnautaire '%s' : " -"vérifiez que les lignes de la facture ont une seule taxe d'autoliquidation, " -"et non pas l'ancien système de double taxe d'autoliquidation qui était " +"Il y a un problème sur la facture/avoir fournisseur intracommunautaire '%s' :" +" vérifiez que les lignes de la facture ont une seule taxe d'autoliquidation," +" et non pas l'ancien système de double taxe d'autoliquidation qui était " "utilisé par Odoo jusqu'à la version 12.0 incluse." #. module: l10n_fr_account_vat_return @@ -1650,6 +1726,7 @@ msgstr "Il y a déjà une case à cette position !" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There is no account %(account_code)s %(account_name)s in the chart of " @@ -1660,6 +1737,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "There is/are %(count)d draft journal entry/entries dated before %(date)s. " @@ -1686,8 +1764,8 @@ msgstr "Ce code N-REF existe déjà." #. module: l10n_fr_account_vat_return #: model_terms:ir.ui.view,arch_db:l10n_fr_account_vat_return.l10n_fr_account_vat_return_form msgid "" -"This VAT return has been marked as sent. Are you sure you want to go back to " -"Manual Lines?" +"This VAT return has been marked as sent. Are you sure you want to go back to" +" Manual Lines?" msgstr "" "Cette déclaration de TVA a été marquée comme envoyée. Êtes-vous sûre que " "vous souhaitez revenir à l'étape des lignes manuelles ?" @@ -1724,13 +1802,15 @@ msgstr "Cette séquence existe déjà." #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_account_fiscal_position__fr_vat_type #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_account_fiscal_position_template__fr_vat_type msgid "Type" -msgstr "Type" +msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Type not set on fiscal position '%s'. It must be set on all fiscal positions." +"Type not set on fiscal position '%s'. It must be set on all fiscal " +"positions." msgstr "" "Le type n'est pas renseigné sur la position fiscale '%s'. Il doit être " "renseigné sur toutes les positions fiscales." @@ -1828,26 +1908,29 @@ msgstr "Ligne de déclaration de TVA française (Ligne de CA3)" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "VAT amount %(total_vat_amount)s, Product ratio %(ratio).2f%% → Product VAT " "amount %(vat_amount)s" msgstr "" -"Montant de TVA %(total_vat_amount)s, Ratio biens %(ratio).2f%% → " -"Montant de TVA sur les biens %(vat_amount)s" +"Montant de TVA %(total_vat_amount)s, Ratio biens %(ratio).2f%% → Montant de " +"TVA sur les biens %(vat_amount)s" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "VAT amount %(total_vat_amount)s, Service ratio %(ratio).2f%% → Service VAT " "amount %(vat_amount)s" msgstr "" -"Montant de TVA %(total_vat_amount)s, Ratio prestations de service %(ratio).2f%% → " -"Montant de TVA sur prestations de service %(vat_amount)s" +"Montant de TVA %(total_vat_amount)s, Ratio prestations de service " +"%(ratio).2f%% → Montant de TVA sur prestations de service %(vat_amount)s" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "VAT amount %(vat_amount)s, Rate %(rate).2f%% → Base %(base_amount)s" msgstr "" @@ -1898,6 +1981,7 @@ msgstr "Historique des échanges sur le site Web" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "Wrong accounting method on Due VAT box '%s': it should be 'Debit'." msgstr "" @@ -1906,6 +1990,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 #, python-format msgid "Wrong value for the new VAT exigibility." msgstr "Mauvaise valeur pour le nouveau régime de TVA." diff --git a/l10n_fr_account_vat_return/i18n/l10n_fr_account_vat_return.pot b/l10n_fr_account_vat_return/i18n/l10n_fr_account_vat_return.pot index 3d0977625..3e17d186a 100644 --- a/l10n_fr_account_vat_return/i18n/l10n_fr_account_vat_return.pot +++ b/l10n_fr_account_vat_return/i18n/l10n_fr_account_vat_return.pot @@ -25,6 +25,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "%(invoice)s (%(partner)s) was unpaid on %(date)s, Unpaid VAT amount " @@ -49,6 +50,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "%(unpaid_ratio)d%% of %(invoice)s (%(partner)s) was unpaid on %(date)s, VAT " @@ -90,6 +92,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%(account)s' is used as due VAT account on several auto-liquidation" @@ -99,6 +102,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%(account)s' is used for several kinds of deductible VAT taxes " @@ -108,6 +112,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%(account)s' is used on several sale VAT taxes for different rates " @@ -117,6 +122,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Account '%s' is an account for autoliquidation, so it's reconcile option " @@ -126,6 +132,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Account '%s' is present in the mapping of several fiscal positions." msgstr "" @@ -138,6 +145,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Account is missing on manual line '%s'." msgstr "" @@ -187,6 +195,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Adjustment to have sum of taxed operations boxes %(taxed_op_boxes)s = sum of" @@ -236,6 +245,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Auto-liquidation tax '%s' is not present in the tax mapping of any fiscal " @@ -290,6 +300,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 #: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 +#: code:addons/l10n_fr_account_vat_return/models/res_company.py:0 #, python-format msgid "Both (automatic)" msgstr "" @@ -302,6 +313,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Box '%(box)s' has a push box '%(push_box)s' that is configured as manual." @@ -310,6 +322,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Box '%(box)s' is configured with Manual Account Code '%(account_code)s', but" @@ -385,6 +398,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Cannot delete VAT return '%s' because it is not in 'Manual Lines' state." @@ -420,6 +434,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: model:ir.model.fields,field_description:l10n_fr_account_vat_return.field_l10n_fr_account_vat_return__comment_dgfip #, python-format msgid "Comment for DGFiP" @@ -521,6 +536,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "Creation Date is not set." msgstr "" @@ -611,6 +627,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py:0 #, python-format msgid "" "Due VAT box '%(due_vat_box)s' has print Y %(due_vat_box_print_y)s whereas " @@ -638,6 +655,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "EDI type not supported for box '%s'." msgstr "" @@ -660,6 +678,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Error in the generation of box '%s': it has an accounting method, so it " @@ -669,6 +688,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "Error in the generation of the computation and accounting details of box " @@ -684,6 +704,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_account_vat_return_reimbursement.py:0 #, python-format msgid "Event Date is not set." msgstr "" @@ -829,6 +850,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 #: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 +#: code:addons/l10n_fr_account_vat_return/wizards/l10n_fr_vat_exigibility_update.py:0 #, python-format msgid "" "If you don't want to change the VAT Exigibility of company '%s', click on " @@ -859,12 +881,13 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" -"Journal entry '%(move)s' is dated before (or on) %(end_date)s and has an " -"unreconciled line with an %(autoliq_type)s autoliquidation due VAT account, " -"but it is not a supplier invoice/refund. That line with the intracom " -"autoliquidation due VAT account should be reconciled." +"Journal entry '%(move)s' dated %(date)s is inside or before the VAT period " +"%(vat_period)s and has an unreconciled journal item with an %(autoliq_type)s" +" autoliquidation due VAT account '%(account)s', but it is not a supplier " +"invoice/refund. That journal item should be reconciled." msgstr "" #. module: l10n_fr_account_vat_return @@ -876,6 +899,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "Journal for VAT Journal Entry is not set on company '%s'." msgstr "" @@ -1052,6 +1076,7 @@ msgstr "" #. module: l10n_fr_account_vat_return #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 +#: code:addons/l10n_fr_account_vat_return/models/l10n_fr_account_vat_return.py:0 #, python-format msgid "" "No account mapping on fiscal position we consider product_ratio = 0% and service_ratio = 100% + product_ratio = autoliq_rate2product_ratio[autoliq_type].get( + rate_int, 0 + ) ratio = { "product": product_ratio, "service": 100 - product_ratio, @@ -1128,23 +1136,27 @@ def _compute_autoliq_rate2product_ratio( ] + speedy["base_domain_end"] ) - - autoliq_vat_moves = autoliq_vat_move_lines.move_id - for move in autoliq_vat_moves: + for autoliq_vat_move_line in autoliq_vat_move_lines: + move = autoliq_vat_move_line.move_id if move.move_type not in ("in_invoice", "in_refund"): raise UserError( _( - "Journal entry '%(move)s' is dated before (or on) " - "%(end_date)s and has an unreconciled line with an " + "Journal entry '%(move)s' dated %(date)s is inside or " + "before the VAT period %(vat_period)s " + "and has an unreconciled journal item with an " "%(autoliq_type)s autoliquidation due VAT " - "account, but it is not a supplier invoice/refund. " - "That line with the intracom autoliquidation due VAT account " - "should be reconciled.", + "account '%(account)s', but it is not a supplier " + "invoice/refund. That journal item should be reconciled.", move=move.display_name, + date=format_date(self.env, move.date), + vat_period=self.name, autoliq_type=autoliq_type, - end_date=format_date(self.env, self.end_date), + account=autoliq_vat_move_line.account_id.display_name, ) ) + + autoliq_vat_moves = autoliq_vat_move_lines.move_id + for move in autoliq_vat_moves: for line in move.invoice_line_ids.filtered( lambda x: x.display_type == "product" ): @@ -1160,12 +1172,15 @@ def _compute_autoliq_rate2product_ratio( else: raise UserError( _( - "There is a problem on the intracom vendor bill/refund '%s': " + "There is a problem on the %(autoliq_type)s " + "%(move_type)s '%(move)s': " "check that the invoice lines have a single autoliquidation " "tax, and not the old dual-tax system for autoliquidation " - "which was used by Odoo up to version 12.0 included." + "which was used by Odoo up to version 12.0 included.", + move_type=speedy["movetype2label"][move.move_type], + move=move.display_name, + autoliq_type=autoliq_type, ) - % move.display_name ) for rate_int, total in rate2total.items():