Skip to content

Commit

Permalink
IMP README
Browse files Browse the repository at this point in the history
exceptions sending email
Avoid to delete sent files
Check duplicated files
Send several files
Reset to ready button
Sending and delivery date
Handling ACCETTAZIONE and CONSEGNA
IMP 'link to existing invoice' wizard
FIX invoice views within attachment view
IMP attachments views
IMP l10n_it_fatturapa_out export: allow multiple export , group by partner
ALLOW to use newline char in invoice line description
check sequence without date ranges
Extract correcttle messages from NS
  • Loading branch information
eLBati authored and TheMule71 committed Jun 9, 2021
1 parent 699057c commit a09a8f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion l10n_it_fatturapa_in/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, '
Expand Down
4 changes: 4 additions & 0 deletions l10n_it_fatturapa_in/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
10 changes: 1 addition & 9 deletions l10n_it_fatturapa_in/views/account_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<notebook>
<page string="Invoices">
<field name="in_invoice_ids"
context="{'form_view_ref': 'account.invoice_supplier_form'}">
context="{'form_view_ref': 'account.invoice_supplier_form', 'tree_view_ref': 'account.invoice_supplier_tree'}">
<tree>
<field name="partner_id"/>
<field name="date_invoice"/>
Expand Down Expand Up @@ -103,14 +103,6 @@
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"></field>
<field name="arch" type="xml">
<xpath expr="//h1[@class='mt0']" position="after">
<div class="oe_right" attrs="{'invisible': [('fatturapa_attachment_in_id', '=', False)]}">
<a href="http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.2.1/Rappresentazione_tabellare_del_tracciato_FatturaPA_versione_1.2.1.pdf"
id="ftpa_schema" style="color: #0000AD!important; padding: 5px; border: 1px solid black; background-color: lightgray !important; border-radius: 5px;" target="_blank">
Fattura PA V1.2 Schema
</a>
</div>
</xpath>
<field name="partner_id" position="after">
<field name="electronic_invoice_subjected" invisible="1"/>
<field name="tax_representative_id" readonly="1" attrs="{'invisible': [('fatturapa_attachment_in_id', '=', False)]}"></field>
Expand Down
1 change: 1 addition & 0 deletions l10n_it_fatturapa_in/wizard/link_to_existing_invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<field name="invoice_id"
domain="[('type', 'in', ('in_invoice', 'in_refund')), ('state', 'in', ('draft', 'proforma', 'proforma2')), ('fatturapa_attachment_in_id', '=', False)]"
context="{'form_view_ref': 'account.invoice_supplier_form', 'tree_view_ref': 'account.invoice_supplier_tree'}"
options="{'no_create': True}"
/>
</group>
<footer>
Expand Down

0 comments on commit a09a8f4

Please sign in to comment.