diff --git a/l10n_it_fatturapa_in/__manifest__.py b/l10n_it_fatturapa_in/__manifest__.py index fe4a807102aa..aefa4aea40cc 100644 --- a/l10n_it_fatturapa_in/__manifest__.py +++ b/l10n_it_fatturapa_in/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Italian Localization - Fattura Elettronica reception', - 'version': '10.0.1.1.0', + 'version': '10.0.1.2.0', 'category': 'Localization/Italy', 'summary': 'Electronic invoices reception', 'author': 'Agile Business Group, Innoviu, ' diff --git a/l10n_it_fatturapa_in/models/account.py b/l10n_it_fatturapa_in/models/account.py index 33d5ff5c2ccd..d7ebcf17edd4 100644 --- a/l10n_it_fatturapa_in/models/account.py +++ b/l10n_it_fatturapa_in/models/account.py @@ -23,6 +23,10 @@ def name_get(self): invoice = self.browse(tup[0]) if invoice.type in ('in_invoice', 'in_refund'): name = "%s, %s" % (tup[1], invoice.partner_id.name) + if invoice.amount_total_signed: + name += ', %s %s' % ( + invoice.amount_total_signed, invoice.currency_id.symbol + ) if invoice.origin: name += ', %s' % invoice.origin res.append((invoice.id, name)) diff --git a/l10n_it_fatturapa_in/views/account_view.xml b/l10n_it_fatturapa_in/views/account_view.xml index 9e230db3620a..c5798f3e632e 100644 --- a/l10n_it_fatturapa_in/views/account_view.xml +++ b/l10n_it_fatturapa_in/views/account_view.xml @@ -24,7 +24,7 @@ + context="{'form_view_ref': 'account.invoice_supplier_form', 'tree_view_ref': 'account.invoice_supplier_tree'}"> @@ -103,14 +103,6 @@ account.invoice - - - diff --git a/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.xml b/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.xml index 18509d0aea3e..6e0ed14f0ccb 100644 --- a/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.xml +++ b/l10n_it_fatturapa_in/wizard/link_to_existing_invoice.xml @@ -11,6 +11,7 @@