Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] l10n_it_fatturapa_export_zip #2080

Merged
merged 12 commits into from
Sep 24, 2021
88 changes: 88 additions & 0 deletions l10n_it_fatturapa_export_zip/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
======================================
ITA - Fattura elettronica - Export ZIP
======================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fatturapa_export_zip
: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-14-0/l10n-italy-14-0-l10n_it_fatturapa_export_zip
: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/14.0
:alt: Try me on Runbot

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

**Italiano**

Questo modulo aggiunge una procedura per esportare in uno ZIP diversi file XML di fatture elettroniche.

**English**

This module adds a wizard to export several XML e-invoice files into a ZIP file.

**Table of contents**

.. contents::
:local:

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_export_zip%0Aversion:%2014.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
~~~~~~~

* Efatto.it di Sergio Corato

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

* Sergio Corato <info@efatto.it>
* Lorenzo Battistini <https://github.com/eLBati>

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.

.. |maintainer-sergiocorato| image:: https://github.com/sergiocorato.png?size=40px
:target: https://github.com/sergiocorato
:alt: sergiocorato

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-sergiocorato|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_it_fatturapa_export_zip/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
25 changes: 25 additions & 0 deletions l10n_it_fatturapa_export_zip/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2019 Sergio Corato (https://efatto.it)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "ITA - Fattura elettronica - Export ZIP",
"summary": "Permette di esportare in uno ZIP diversi file XML di "
"fatture elettroniche",
"version": "14.0.1.0.0",
"development_status": "Beta",
"category": "Localization/Italy",
"website": "https://github.com/OCA/l10n-italy",
"author": "Efatto.it di Sergio Corato, Odoo Community Association (OCA)",
"maintainers": ["sergiocorato"],
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"l10n_it_fatturapa_out",
"l10n_it_fatturapa_in",
],
"data": [
"security/ir.model.access.csv",
"wizard/export_fatturapa_view.xml",
"views/attachment_view.xml",
],
}
140 changes: 140 additions & 0 deletions l10n_it_fatturapa_export_zip/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_it_fatturapa_export_zip
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-01-07 11:13+0000\n"
"Last-Translator: Sergio Zanchetta <primes2h@gmail.com>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: l10n_it_fatturapa_export_zip
#: code:addons/l10n_it_fatturapa_export_zip/wizard/export_fatturapa.py:30
#, python-format
msgid "Attachment %s already exported. Remove ZIP file first"
msgstr "Allegato %s già esportato. Rimuovere il file ZIP prima"

#. module: l10n_it_fatturapa_export_zip
#: code:addons/l10n_it_fatturapa_export_zip/wizard/export_fatturapa.py:35
#, python-format
msgid "Attachment %s does not have XML file"
msgstr "L'allegato %s non ha file XML"

#. module: l10n_it_fatturapa_export_zip
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.wizard_fatturapa_export
msgid "Cancel"
msgstr "Annulla"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__create_uid
msgid "Created by"
msgstr "Creato da"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__create_date
msgid "Created on"
msgstr "Creato il"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: l10n_it_fatturapa_export_zip
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.wizard_fatturapa_export
msgid "Download ZIP E-Invoices XML"
msgstr "Scaricare ZIP e-fatture XML"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.actions.act_window,name:l10n_it_fatturapa_export_zip.action_fatturapa_in_export
#: model:ir.actions.act_window,name:l10n_it_fatturapa_export_zip.action_fatturapa_out_export
msgid "Download ZIP e-invoice XML"
msgstr "Scaricare ZIP e-fattura XML"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model,name:l10n_it_fatturapa_export_zip.model_fatturapa_attachment_in
msgid "E-bill import file"
msgstr "File importazione e-fattura"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model,name:l10n_it_fatturapa_export_zip.model_fatturapa_attachment_out
msgid "E-invoice Export File"
msgstr "File esportazione e-fattura"

#. module: l10n_it_fatturapa_export_zip
#: code:addons/l10n_it_fatturapa_export_zip/wizard/export_fatturapa.py:18
#, python-format
msgid "E-invoice-export"
msgstr "Esportazione-e-fattura"

#. module: l10n_it_fatturapa_export_zip
#: code:addons/l10n_it_fatturapa_export_zip/wizard/export_fatturapa.py:54
#, python-format
msgid "Export E-Invoices"
msgstr "Esportare e-fatture"

#. module: l10n_it_fatturapa_export_zip
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.wizard_fatturapa_export
msgid "Export zip"
msgstr "Esportare ZIP"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_fatturapa_attachment_in__exported_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_fatturapa_attachment_out__exported_zip
msgid "Exported ZIP"
msgstr "ZIP esportato"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__data
msgid "File"
msgstr "File"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__name
msgid "Filename"
msgstr "Nome file"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__id
msgid "ID"
msgstr "ID"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model.fields,field_description:l10n_it_fatturapa_export_zip.field_wizard_fatturapa_export__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"

#. module: l10n_it_fatturapa_export_zip
#: model:ir.model,name:l10n_it_fatturapa_export_zip.model_wizard_fatturapa_export
msgid "Wizard e-invoice export ZIP"
msgstr "Procedura di esportazione ZIP e-fatture"

#. module: l10n_it_fatturapa_export_zip
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.view_fatturapa_in_attachment_search
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.view_fatturapa_out_attachment_search
msgid "ZIP Exported"
msgstr "ZIP esportato"

#. module: l10n_it_fatturapa_export_zip
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.view_fatturapa_in_attachment_search
#: model_terms:ir.ui.view,arch_db:l10n_it_fatturapa_export_zip.view_fatturapa_out_attachment_search
msgid "ZIP Not Exported"
msgstr "ZIP non esportato"
1 change: 1 addition & 0 deletions l10n_it_fatturapa_export_zip/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import attachment
13 changes: 13 additions & 0 deletions l10n_it_fatturapa_export_zip/models/attachment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from odoo import fields, models


class FatturaAttachmentOut(models.Model):
_inherit = ["fatturapa.attachment.out"]

exported_zip = fields.Many2one("ir.attachment", "Exported ZIP", readonly=True)


class FatturaAttachmentIn(models.Model):
_inherit = ["fatturapa.attachment.in"]

exported_zip = fields.Many2one("ir.attachment", "Exported ZIP", readonly=True)
2 changes: 2 additions & 0 deletions l10n_it_fatturapa_export_zip/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Sergio Corato <info@efatto.it>
* Lorenzo Battistini <https://github.com/eLBati>
7 changes: 7 additions & 0 deletions l10n_it_fatturapa_export_zip/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**Italiano**

Questo modulo aggiunge una procedura per esportare in uno ZIP diversi file XML di fatture elettroniche.

**English**

This module adds a wizard to export several XML e-invoice files into a ZIP file.
2 changes: 2 additions & 0 deletions l10n_it_fatturapa_export_zip/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_wizard_fatturapa_export_user,access_wizard_fatturapa_export_user,model_wizard_fatturapa_export,account.group_account_invoice,1,1,1,0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading