From 197e569ade5c01bded51c54fb43270835871a8d3 Mon Sep 17 00:00:00 2001 From: Sergio Zanchetta Date: Fri, 30 Nov 2018 16:56:27 +0100 Subject: [PATCH] [FIX] l10n_it_fatturapa_in translation source strings --- l10n_it_fatturapa_in/README.rst | 12 ++-- l10n_it_fatturapa_in/models/account.py | 14 ++--- l10n_it_fatturapa_in/models/attachment.py | 8 +-- l10n_it_fatturapa_in/models/partner.py | 4 +- l10n_it_fatturapa_in/readme/CONFIGURE.rst | 2 +- l10n_it_fatturapa_in/readme/DESCRIPTION.rst | 8 +-- l10n_it_fatturapa_in/readme/USAGE.rst | 2 +- .../static/description/index.html | 12 ++-- .../tests/test_import_fatturapa_xml.py | 24 +++---- l10n_it_fatturapa_in/views/account_view.xml | 2 +- .../wizard/link_to_existing_invoice.py | 2 +- .../wizard/wizard_import_fatturapa.py | 62 +++++++++---------- .../wizard/wizard_import_fatturapa_view.xml | 2 +- 13 files changed, 77 insertions(+), 77 deletions(-) diff --git a/l10n_it_fatturapa_in/README.rst b/l10n_it_fatturapa_in/README.rst index 4fb3df4f8dfa..a22651bcfab3 100644 --- a/l10n_it_fatturapa_in/README.rst +++ b/l10n_it_fatturapa_in/README.rst @@ -27,21 +27,21 @@ Italian Localization - Fattura Elettronica - Reception **Italiano** -Questo modulo consente di importare i file XML delle fatture elettroniche, versione 1.2 +Questo modulo consente di importare i file XML della fattura elettronica versione 1.2 http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm -ricevute attraverso il Sistema di Interscambio (SDI) +ricevuti attraverso il Sistema di Interscambio (SdI). http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm **English** -This module allows to import XML files of electronic bills, version 1.2 +This module allows to import Electronic Bill XML files version 1.2 http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm -received through the Exchange System (ES) +received through the Exchange System (ES). http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm @@ -92,7 +92,7 @@ See also the README file of l10n_it_fatturapa module. For every supplier, it is possible to set the 'E-bills Detail Level': - Minimum level: Bill is created with no lines; User will have to create them, according to what specified in the electronic bill - - Maximum level: every line contained in electronic bill will create a line in bill + - Maximum level: Every line contained in electronic bill will create a line in bill Moreover, in supplier form you can set the 'E-bill Default Product': this product will be used, during generation of bills, when no other possible product is found. Tax and account of bill line will be set according to what configured in the product. @@ -107,7 +107,7 @@ Usage **Italiano** - * Andare su Contabilità → Acquisti → Fattura elettronica + * Andare in Contabilità → Acquisti → Fattura elettronica * Caricare un file XML * Visualizzare il contenuto della fattura facendo clic su "Mostra anteprima" * Eseguire la procedura guidata "Importa e-fattura" per creare una fattura in bozza oppure "Collega a fattura esistente" per collegare il file XML a una fattura già (automaticamente) creata diff --git a/l10n_it_fatturapa_in/models/account.py b/l10n_it_fatturapa_in/models/account.py index 78220e4df9d4..5f04fd03f7c6 100644 --- a/l10n_it_fatturapa_in/models/account.py +++ b/l10n_it_fatturapa_in/models/account.py @@ -11,7 +11,7 @@ class AccountInvoice(models.Model): ondelete='restrict', copy=False) inconsistencies = fields.Text('Import Inconsistencies', copy=False) e_invoice_line_ids = fields.One2many( - "einvoice.line", "invoice_id", string="Lines detail", + "einvoice.line", "invoice_id", string="Lines Detail", readonly=True, copy=False) @api.multi @@ -43,12 +43,12 @@ def remove_attachment_link(self): class fatturapa_article_code(models.Model): # _position = ['2.2.1.3'] _name = "fatturapa.article.code" - _description = 'FatturaPA Article Code' + _description = 'E-bill Article Code' - name = fields.Char('Cod Type') + name = fields.Char('Code Type') code_val = fields.Char('Code Value') e_invoice_line_id = fields.Many2one( - 'einvoice.line', 'Related E-bill line', readonly=True + 'einvoice.line', 'Related E-bill Line', readonly=True ) @@ -67,7 +67,7 @@ class AccountInvoiceLine(models.Model): class DiscountRisePrice(models.Model): _inherit = "discount.rise.price" e_invoice_line_id = fields.Many2one( - 'einvoice.line', 'Related E-bill line', readonly=True + 'einvoice.line', 'Related E-bill Line', readonly=True ) @@ -80,7 +80,7 @@ class EInvoiceLine(models.Model): service_type = fields.Char('Sale Provision Type', readonly=True) cod_article_ids = fields.One2many( 'fatturapa.article.code', 'e_invoice_line_id', - 'Cod. Articles', readonly=True + 'Articles Code', readonly=True ) name = fields.Char("Description", readonly=True) qty = fields.Float( @@ -96,7 +96,7 @@ class EInvoiceLine(models.Model): ) discount_rise_price_ids = fields.One2many( 'discount.rise.price', 'e_invoice_line_id', - 'Discount and Supplement Price Details', readonly=True + 'Discount and Supplement Details', readonly=True ) total_price = fields.Float("Total Price", readonly=True) tax_amount = fields.Float("VAT Rate", readonly=True) diff --git a/l10n_it_fatturapa_in/models/attachment.py b/l10n_it_fatturapa_in/models/attachment.py index 7ec80e16e351..8523df5282dc 100644 --- a/l10n_it_fatturapa_in/models/attachment.py +++ b/l10n_it_fatturapa_in/models/attachment.py @@ -4,7 +4,7 @@ class FatturaPAAttachmentIn(models.Model): _name = "fatturapa.attachment.in" - _description = "FatturaPA import File" + _description = "E-bill import file" _inherits = {'ir.attachment': 'ir_attachment_id'} _inherit = ['mail.thread'] _order = 'id desc' @@ -13,14 +13,14 @@ class FatturaPAAttachmentIn(models.Model): 'ir.attachment', 'Attachment', required=True, ondelete="cascade") in_invoice_ids = fields.One2many( 'account.invoice', 'fatturapa_attachment_in_id', - string="In Invoices", readonly=True) + string="In Bills", readonly=True) xml_supplier_id = fields.Many2one( "res.partner", string="Supplier", compute="_compute_xml_data", store=True) invoices_number = fields.Integer( - "Invoices number", compute="_compute_xml_data", store=True) + "Bills Number", compute="_compute_xml_data", store=True) invoices_total = fields.Float( - "Invoices total", compute="_compute_xml_data", store=True, + "Bills Total", compute="_compute_xml_data", store=True, help="If specified by supplier, total amount of the document net of " "any discount and including tax charged to the buyer/ordered" ) diff --git a/l10n_it_fatturapa_in/models/partner.py b/l10n_it_fatturapa_in/models/partner.py index 460d278b9e3a..1fc804705562 100644 --- a/l10n_it_fatturapa_in/models/partner.py +++ b/l10n_it_fatturapa_in/models/partner.py @@ -9,7 +9,7 @@ class Partner(models.Model): comodel_name='product.product', string='E-bill Default Product', help="Used by electronic invoice XML import. " - "If filled, generated invoice lines will use this product, when " + "If filled in, generated bill lines will use this product when " "no other possible product is found." ) e_invoice_detail_level = fields.Selection([ @@ -17,7 +17,7 @@ class Partner(models.Model): # ('1', 'Aliquote'), ('2', 'Maximum'), ], string="E-bills Detail Level", - help="Minumum level: Bill is created with no lines; " + help="Minimum level: Bill is created with no lines; " "User will have to create them, according to what specified in " "the electronic bill.\n" # "Livello Aliquote: viene creata una riga fattura per ogni " diff --git a/l10n_it_fatturapa_in/readme/CONFIGURE.rst b/l10n_it_fatturapa_in/readme/CONFIGURE.rst index d2984b935836..0aa2fce20989 100644 --- a/l10n_it_fatturapa_in/readme/CONFIGURE.rst +++ b/l10n_it_fatturapa_in/readme/CONFIGURE.rst @@ -22,7 +22,7 @@ See also the README file of l10n_it_fatturapa module. For every supplier, it is possible to set the 'E-bills Detail Level': - Minimum level: Bill is created with no lines; User will have to create them, according to what specified in the electronic bill - - Maximum level: every line contained in electronic bill will create a line in bill + - Maximum level: Every line contained in electronic bill will create a line in bill Moreover, in supplier form you can set the 'E-bill Default Product': this product will be used, during generation of bills, when no other possible product is found. Tax and account of bill line will be set according to what configured in the product. diff --git a/l10n_it_fatturapa_in/readme/DESCRIPTION.rst b/l10n_it_fatturapa_in/readme/DESCRIPTION.rst index b92d1008aec3..29ce32fed4bc 100644 --- a/l10n_it_fatturapa_in/readme/DESCRIPTION.rst +++ b/l10n_it_fatturapa_in/readme/DESCRIPTION.rst @@ -1,19 +1,19 @@ **Italiano** -Questo modulo consente di importare i file XML delle fatture elettroniche, versione 1.2 +Questo modulo consente di importare i file XML della fattura elettronica versione 1.2 http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm -ricevute attraverso il Sistema di Interscambio (SDI) +ricevuti attraverso il Sistema di Interscambio (SdI). http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm **English** -This module allows to import XML files of electronic bills, version 1.2 +This module allows to import Electronic Bill XML files version 1.2 http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm -received through the Exchange System (ES) +received through the Exchange System (ES). http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm diff --git a/l10n_it_fatturapa_in/readme/USAGE.rst b/l10n_it_fatturapa_in/readme/USAGE.rst index 1320e0fb71c2..0deca0bd6ac4 100644 --- a/l10n_it_fatturapa_in/readme/USAGE.rst +++ b/l10n_it_fatturapa_in/readme/USAGE.rst @@ -1,6 +1,6 @@ **Italiano** - * Andare su Contabilità → Acquisti → Fattura elettronica + * Andare in Contabilità → Acquisti → Fattura elettronica * Caricare un file XML * Visualizzare il contenuto della fattura facendo clic su "Mostra anteprima" * Eseguire la procedura guidata "Importa e-fattura" per creare una fattura in bozza oppure "Collega a fattura esistente" per collegare il file XML a una fattura già (automaticamente) creata diff --git a/l10n_it_fatturapa_in/static/description/index.html b/l10n_it_fatturapa_in/static/description/index.html index 5877d84cf911..b58f34cb4021 100644 --- a/l10n_it_fatturapa_in/static/description/index.html +++ b/l10n_it_fatturapa_in/static/description/index.html @@ -369,14 +369,14 @@

Italian Localization - Fattura Elettronica - Reception

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

Italiano

-

Questo modulo consente di importare i file XML delle fatture elettroniche, versione 1.2

+

Questo modulo consente di importare i file XML della fattura elettronica versione 1.2

http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm

-

ricevute attraverso il Sistema di Interscambio (SDI)

+

ricevuti attraverso il Sistema di Interscambio (SdI).

http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm

English

-

This module allows to import XML files of electronic bills, version 1.2

+

This module allows to import Electronic Bill XML files version 1.2

http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm

-

received through the Exchange System (ES)

+

received through the Exchange System (ES).

http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm

Table of contents

@@ -423,7 +423,7 @@

Configuration

  • Minimum level: Bill is created with no lines; User will have to create them, according to what specified in the electronic bill
  • -
  • Maximum level: every line contained in electronic bill will create a line in bill
  • +
  • Maximum level: Every line contained in electronic bill will create a line in bill

Moreover, in supplier form you can set the ‘E-bill Default Product’: this product will be used, during generation of bills, when no other possible product is found. Tax and account of bill line will be set according to what configured in the product.

@@ -436,7 +436,7 @@

Usage

Italiano

    -
  • Andare su Contabilità → Acquisti → Fattura elettronica
  • +
  • Andare in Contabilità → Acquisti → Fattura elettronica
  • Caricare un file XML
  • Visualizzare il contenuto della fattura facendo clic su “Mostra anteprima”
  • Eseguire la procedura guidata “Importa e-fattura” per creare una fattura in bozza oppure “Collega a fattura esistente” per collegare il file XML a una fattura già (automaticamente) creata
  • diff --git a/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py b/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py index feddfcc3975c..0e9dd2959863 100644 --- a/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py +++ b/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py @@ -200,8 +200,8 @@ def test_04_xml_import(self): e_line.cod_article_ids[0].code_val, '12345') self.assertEqual( invoice.inconsistencies, - u'Company Name field contains "Societa\' ' - 'Alpha SRL". Your System contains "SOCIETA\' ALPHA SRL"\n\n') + u"Company Name field contains 'Societa\' " + "Alpha SRL'. Your System contains 'SOCIETA\' ALPHA SRL'\n\n") def test_05_xml_import(self): self.env.user.company_id.dati_bollo_product_id = ( @@ -330,12 +330,12 @@ def test_13_xml_import(self): invoice2 = self.invoice_model.browse(invoice2_id) self.assertEqual( invoice1.inconsistencies, - u'Company Name field contains "Societa\' ' - 'Alpha SRL". Your System contains "SOCIETA\' ALPHA SRL"\n\n') + u"Company Name field contains 'Societa\' " + "Alpha SRL'. Your System contains 'SOCIETA\' ALPHA SRL'\n\n") self.assertEqual( invoice2.inconsistencies, - u'Company Name field contains "Societa\' ' - 'Alpha SRL". Your System contains "SOCIETA\' ALPHA SRL"\n\n') + u"Company Name field contains 'Societa\' " + "Alpha SRL'. Your System contains 'SOCIETA\' ALPHA SRL'\n\n") def test_14_xml_import(self): # check: no tax code found , write inconsisteance and anyway @@ -349,12 +349,12 @@ def test_14_xml_import(self): self.assertEqual(invoice.amount_tax, 0.0) self.assertEqual( invoice.inconsistencies, - u'Company Name field contains "Societa\' ' - 'Alpha SRL". Your System contains "SOCIETA\' ALPHA SRL"\n\n' - 'XML contains tax with percentage "15.55"' - ' but it does not exist in your system\n' - 'XML contains tax with percentage "15.55"' - ' but it does not exist in your system') + u"Company Name field contains 'Societa\' " + "Alpha SRL'. Your System contains 'SOCIETA\' ALPHA SRL'\n\n" + u"XML contains tax with percentage '15.55'" + " but it does not exist in your system\n" + "XML contains tax with percentage '15.55'" + " but it does not exist in your system") def test_15_xml_import(self): self.wt = self.create_wt() diff --git a/l10n_it_fatturapa_in/views/account_view.xml b/l10n_it_fatturapa_in/views/account_view.xml index b484e947de0e..872c9d4f2ae4 100644 --- a/l10n_it_fatturapa_in/views/account_view.xml +++ b/l10n_it_fatturapa_in/views/account_view.xml @@ -273,7 +273,7 @@ - + diff --git a/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.py b/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.py index dbaf266d02f7..08588706ceea 100644 --- a/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.py +++ b/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.py @@ -15,5 +15,5 @@ def link(self): self.ensure_one() active_ids = self.env.context.get('active_ids') if len(active_ids) != 1: - raise UserError(_("You can select only 1 XML file to link")) + raise UserError(_("You can select only one XML file to link.")) self.invoice_id.fatturapa_attachment_in_id = active_ids[0] diff --git a/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa.py b/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa.py index 01cedc3fdc28..6a1af4dcebdf 100644 --- a/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa.py +++ b/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa.py @@ -21,7 +21,7 @@ class WizardImportFatturapa(models.TransientModel): # ('1', 'Aliquote'), ('2', 'Maximum'), ], string="E-bills Detail Level", - help="Minumum level: Bill is created with no lines; " + help="Minimum level: Bill is created with no lines; " "User will have to create them, according to what specified in " "the electronic bill.\n" # "Livello Aliquote: viene creata una riga fattura per ogni " @@ -43,7 +43,7 @@ def default_get(self, fields): fatturapa_attachment_id) if fatturapa_attachment.in_invoice_ids: raise UserError( - _("File %s is linked to bills yet") + _("File %s is linked to bills yet.") % fatturapa_attachment.name) partners |= fatturapa_attachment.xml_supplier_id if len(partners) == 1: @@ -82,16 +82,16 @@ def check_partner_base_data(self, partner_id, DatiAnagrafici): partner.name != DatiAnagrafici.Anagrafica.Denominazione ): self.log_inconsistency(_( - "Company Name field contains \"%s\"." - " Your System contains \"%s\"" + "Company Name field contains '%s'." + " Your System contains '%s'" ) % (DatiAnagrafici.Anagrafica.Denominazione, partner.name)) if ( DatiAnagrafici.Anagrafica.Nome and partner.firstname != DatiAnagrafici.Anagrafica.Nome ): self.log_inconsistency(_( - "Name field contains \"%s\"." - " Your System contains \"%s\"" + "Name field contains '%s'." + " Your System contains '%s'" ) % (DatiAnagrafici.Anagrafica.Nome, partner.firstname)) if ( DatiAnagrafici.Anagrafica.Cognome and @@ -99,8 +99,8 @@ def check_partner_base_data(self, partner_id, DatiAnagrafici): ): self.log_inconsistency( _( - "Surname field contains \"%s\"." - " Your System contains \"%s\"" + "Surname field contains '%s'." + " Your System contains '%s'" ) % (DatiAnagrafici.Anagrafica.Cognome, partner.lastname) ) @@ -131,7 +131,7 @@ def getPartnerBase(self, DatiAnagrafici): raise UserError( _("Two distinct partners with " "VAT number %s and Fiscal Code %s already " - "present in db" % + "present in db." % (vat, cf)) ) if partners: @@ -148,7 +148,7 @@ def getPartnerBase(self, DatiAnagrafici): country_id = countries[0].id else: raise UserError( - _("Country Code %s not found in system") % CountryCode + _("Country Code %s not found in system.") % CountryCode ) vals = { 'vat': vat, @@ -214,7 +214,7 @@ def getCedPrest(self, cedPrest): ) if not FiscalPos: raise UserError( - _('Tax Regime %s not present in your system') + _('Tax Regime %s not present in your system.') % rfPos ) else: @@ -277,12 +277,12 @@ def _prepare_generic_line_data(self, line): if not account_taxes: raise UserError( _('No tax with percentage ' - '%s and nature %s found. Please configure this tax') + '%s and nature %s found. Please configure this tax.') % (line.AliquotaIVA, line.Natura)) if len(account_taxes) > 1: raise UserError( _('Too many taxes with percentage ' - '%s and nature %s found') + '%s and nature %s found.') % (line.AliquotaIVA, line.Natura)) else: account_taxes = account_tax_model.search( @@ -297,8 +297,8 @@ def _prepare_generic_line_data(self, line): if not account_taxes: self.log_inconsistency( _( - 'XML contains tax with percentage "%s" ' - 'but it does not exist in your system' + "XML contains tax with percentage '%s' " + "but it does not exist in your system" ) % line.AliquotaIVA ) # check if there are multiple taxes with @@ -307,7 +307,7 @@ def _prepare_generic_line_data(self, line): # just logging because this is an usual case: see split payment _logger.warning(_( "Line '%s': Too many taxes with percentage equals " - "to \"%s\"\nfix it if required" + "to '%s'.\n Fix it if required" ) % (line.Descrizione, line.AliquotaIVA)) # if there are multiple taxes with same percentage # and there is a default tax with this percentage, @@ -477,7 +477,7 @@ def _prepareWelfareLine(self, invoice_id, line): WelfareTypeModel = self.env['welfare.fund.type'] if not TipoCassa: raise UserError( - _('Welfare Fund is not defined ') + _('Welfare Fund is not defined.') ) WelfareType = WelfareTypeModel.search( [('name', '=', TipoCassa)] @@ -495,7 +495,7 @@ def _prepareWelfareLine(self, invoice_id, line): } if not WelfareType: raise UserError( - _('Welfare Fund %s not present in your system') % TipoCassa) + _('Welfare Fund %s not present in your system.') % TipoCassa) else: res['name'] = WelfareType[0].id @@ -607,7 +607,7 @@ def _createPayamentsLine(self, payment_id, line, partner_id): if not method: raise UserError( _( - 'Payment method %s is not defined in your system' + 'Payment method %s is not defined in your system.' % dline.ModalitaPagamento ) ) @@ -664,7 +664,7 @@ def _createPayamentsLine(self, payment_id, line, partner_id): if not banks: if not dline.IstitutoFinanziario: self.log_inconsistency( - _("Name of Bank with BIC \"%s\" is not set." + _("Name of Bank with BIC '%s' is not set." " Can't create bank") % dline.BIC ) else: @@ -744,8 +744,8 @@ def get_purchase_journal(self, company): if not journals: raise UserError( _( - 'Define a purchase journal ' - 'for this company: "%s" (id:%d).' + "Define a purchase journal " + "for this company: '%s' (id: %d)." ) % (company.name, company.id) ) return journals[0] @@ -827,7 +827,7 @@ def invoiceCreate( if not currency: raise UserError( _( - 'No currency found with code %s' + 'No currency found with code %s.' % FatturaBody.DatiGenerali.DatiGeneraliDocumento.Divisa ) ) @@ -849,7 +849,7 @@ def invoiceCreate( docType_id = docType_record[0].id else: raise UserError( - _("Document type %s not handled") + _("Document type %s not handled.") % docType) if docType == 'TD04': invtype = 'in_refund' @@ -902,7 +902,7 @@ def invoiceCreate( "The bill contains withholding tax with " "payment reason %s, " "but such a tax is not found in your system. Please " - "set it" + "set it." ) % Withholding.CausalePagamento) wt_found = False for wt in wts: @@ -912,7 +912,7 @@ def invoiceCreate( if not wt_found: raise UserError(_( "No withholding tax found with " - "document payment reason %s and rate %s" + "document payment reason %s and rate %s." ) % ( Withholding.CausalePagamento, Withholding.AliquotaRitenuta )) @@ -962,7 +962,7 @@ def invoiceCreate( if not wt_found: raise UserError(_( "Welfare Fund data %s has withholding tax but no " - "withholding tax was found in the system" + "withholding tax was found in the system." % walfareLine.TipoCassa)) line_vals['invoice_line_tax_wt_ids'] = [ (6, 0, [wt_found.id])] @@ -1137,12 +1137,12 @@ def invoiceCreate( cond = PaymentLine.CondizioniPagamento or False if not cond: raise UserError( - _('Payment method Code not found in document') + _('Payment method code not found in document.') ) terms = PaymentTermsModel.search([('code', '=', cond)]) if not terms: raise UserError( - _('Payment method Code %s is incorrect') % cond + _('Payment method code %s is incorrect.') % cond ) else: term_id = terms[0].id @@ -1204,7 +1204,7 @@ def check_invoice_amount(self, invoice, FatturaElettronicaBody): invoice.amount_total-ImportoTotaleDocumento, precision_digits=2 ): self.log_inconsistency( - _('Invoice total %s is different from ' + _('Bill total %s is different from ' 'document total amount %s') % (invoice.amount_total, ImportoTotaleDocumento) ) @@ -1242,7 +1242,7 @@ def importFatturaPA(self): fatturapa_attachment_id) if fatturapa_attachment.in_invoice_ids: raise UserError( - _("File is linked to bills yet")) + _("File is linked to bills yet.")) fatt = self.get_invoice_obj(fatturapa_attachment) cedentePrestatore = fatt.FatturaElettronicaHeader.CedentePrestatore # 1.2 diff --git a/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa_view.xml b/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa_view.xml index 846c5a5d83ac..c064828bb51c 100644 --- a/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa_view.xml +++ b/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa_view.xml @@ -18,7 +18,7 @@ -