Skip to content

Commit

Permalink
porting
Browse files Browse the repository at this point in the history
l10n_it_fatturapa_in to 10
(REF withholding tax integration, invoice interface, fiscal document type
ADD some DatiGeneraliDocumento fields)
ADD _setTerzoIntermediarioOSoggettoEmittente to l10n_it_fatturapa_out

l10n_it_ipa ADD is_pa bool field
ADD PECDestinatario, CodiceDestinatario , FormatoTrasmissione handling
ADD Lotto di fatture verso soggetto privato
ADD gestione prodotti nelle fatture passive
ADD l10n_it_fatturapa_in_purchase
ADD einvoice.line model
IMP form fatture
ADD Livello di dettaglio Fatture elettroniche
ADD PDF preview dell'XML
ADD Link to existing supplier invoice
and handle "registered" XML
ADD rappresentante fiscale e stabile organizzazione in emissione
gestione prodotti DatiBollo , DatiCassaPrevidenziale e ScontoMaggiorazione
CodiceArticolo, ftpa_line_number

IMP "show preview" as link
FIX invoice duplication

ADD constraints and Nome Cognome

Avoid to cancel invoice with XML

Mostra i dati fattura elettronica solo se il cliente è soggetto
IMP READMEs

Gestione IVA inclusa nel prezzo

ADD l10n_it_fatturapa_out_ddt

IMP PEP8

IMP decimal precision
ADD Export E-invoice button
IMP README
  • Loading branch information
eLBati authored and TheMule71 committed Jun 9, 2021
1 parent 332042e commit 773e1c3
Show file tree
Hide file tree
Showing 42 changed files with 3,097 additions and 1,983 deletions.
117 changes: 117 additions & 0 deletions l10n_it_fatturapa_in/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
====================================================
Italian Localization - Fattura Elettronica reception
====================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/10.0/l10n_it_fatturapa_in
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-italy-10-0/l10n-italy-10-0-l10n_it_fatturapa_in
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/122/10.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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

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

received through the exchange system (SDI)

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

**Table of contents**

.. contents::
:local:

Installation
============

odoo server must run on linux and be able to run

``openssl``

Configuration
=============

Also see the README file of l10n_it_fatturapa module.

For every supplier, it is possible to set the 'details level of electronic invoices':

- Minimum level: Supplier invoice is created without lines; user will have to create them, according to what specified in electronic invoice
- Maximum level: every line contained in electronic invoice will create a line in supplier invoice.

Moreover, it is possible, in supplier form, to set the 'default product for electronic invoices': this product will be used, during generation of supplier invoices, when no other possible product is found. Tax and account of invoice line will be set according to what configured in the product.

Every product code used by suppliers can be set, in product form, in

Inventory --> Suppliers

If supplier specifies a known code in XML, the system will use it to retrieve the correct product to be used in invoice line, setting the related tax and account.

Usage
=====

* Go to Accounting --> Purchases --> Electronic Invoice
* Upload XML file
* View invoice content clicking on 'show preview'
* Run 'import electronic invoice' wizard to create a draft invoice or run 'link to existing supplier invoice' to link the XML file to an already (automatically) created invoice

In the incoming electronic invoice files list, by default you will see files to be registered, that is files not yet linked to one or more supplier invoices

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fatturapa_in%0Aversion:%2010.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Agile Business Group
* Innoviu

Contributors
~~~~~~~~~~~~

* Lorenzo Battistini <[email protected]>
* Roberto Onnis
* Alessio Gerace

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/10.0/l10n_it_fatturapa_in>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
19 changes: 0 additions & 19 deletions l10n_it_fatturapa_in/__init__.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 AgileBG SAGL <http://www.agilebg.com>
# Copyright (C) 2015 innoviu Srl <http://www.innoviu.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import models
from . import tests
Expand Down
28 changes: 28 additions & 0 deletions l10n_it_fatturapa_in/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
# Copyright 2015 AgileBG SAGL <http://www.agilebg.com>
# Copyright 2015 innoviu Srl <http://www.innoviu.com>
# Copyright 2018 Lorenzo Battistini

{
'name': 'Italian Localization - Fattura Elettronica reception',
'version': '10.0.1.0.0',
'category': 'Localization/Italy',
'summary': 'Electronic invoices reception',
'author': 'Agile Business Group, Innoviu, '
'Odoo Community Association (OCA)',
'website': 'http://www.agilebg.com',
'license': 'LGPL-3',
"depends": [
'l10n_it_fatturapa',
'l10n_it_withholding_tax_causali',
],
"data": [
'views/account_view.xml',
'views/partner_view.xml',
'wizard/wizard_import_fatturapa_view.xml',
'security/ir.model.access.csv',
'wizard/link_to_existing_invoice.xml',
'views/company_view.xml',
],
"installable": True
}
94 changes: 0 additions & 94 deletions l10n_it_fatturapa_in/__openerp__.py

This file was deleted.

Loading

0 comments on commit 773e1c3

Please sign in to comment.