Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
29 changed files
with
1,769 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
=========================== | ||
Envío de Factura-e a e.FACT | ||
=========================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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--spain-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-spain/tree/12.0/l10n_es_facturae_efact | ||
:alt: OCA/l10n-spain | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_facturae_efact | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/189/12.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Este módulo permite la gestión del envío de la facturación electrónica española | ||
a el servicio de envío de facturas de Catalunya (e.Fact). | ||
|
||
La gestión del envío se realiza mediante un canal SSH. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
Este módulo depende del módulo *l10n_es_facturae* y sus dependencias. | ||
|
||
Además, depende de las siguientes librerías Python: | ||
|
||
* paramiko | ||
* OpenSSL | ||
* xmlsec | ||
|
||
Usage | ||
===== | ||
|
||
#. Acceder a un cliente y configurar la factura electrónica. | ||
#. Acceder a una factura validada del cliente y pulsar el botón | ||
'Enviar a FACe' | ||
#. Se pueden añadir otros adjuntos además al envío de la factura original. | ||
#. Pulsar en 'Enviar' en el registro de envío a FACe | ||
#. Si el envío es correcto, mostrará el resultado y el número de registro. | ||
#. Siendo correcto, se podrá actualizar el estado de forma online. | ||
#. También se podrá solicitar la anulación de la factura pulsando en | ||
'Cancelar Envío' e introduciendo el motivo. | ||
#. Un registro enviado correctamente no puede ser eliminado. | ||
#. Sólo puede existir un envío Enviado correctamente. | ||
#. Existe una tarea programada que actualiza los registros enviados | ||
correctamente no pagados y no anulados. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/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-spain/issues/new?body=module:%20l10n_es_facturae_efact%0Aversion:%2012.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 | ||
~~~~~~~ | ||
|
||
* Creu Blanca | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Enric Tobella <etobella@creublanca.es> | ||
* `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
* Pedro M. Baeza | ||
|
||
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-spain <https://github.com/OCA/l10n-spain/tree/12.0/l10n_es_facturae_efact>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2015 Creu Blanca | ||
# Copyright 2019 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Envío de Factura-e a e.FACT", | ||
"version": "12.0.1.0.0", | ||
"author": "Creu Blanca, " | ||
"Odoo Community Association (OCA)", | ||
"category": "Accounting & Finance", | ||
"website": "https://github.com/OCA/l10n-spain", | ||
"license": "AGPL-3", | ||
"depends": [ | ||
"l10n_es_facturae", | ||
], | ||
"data": [ | ||
"data/efact_data.xml", | ||
"views/res_partner_view.xml", | ||
"views/account_invoice_integration_view.xml", | ||
"views/res_config_views.xml", | ||
"views/res_company_view.xml", | ||
], | ||
"external_dependencies": { | ||
"python": [ | ||
"paramiko", | ||
"OpenSSL", | ||
"xmlsec" | ||
] | ||
}, | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0"?> | ||
<odoo noupdate="1"> | ||
<record id="account_invoice_efact_server" model="ir.config_parameter"> | ||
<field name="key">account.invoice.efact.server</field> | ||
<field name="value">efact.eacat.cat</field> | ||
</record> | ||
<record id="account_invoice_efact_port" model="ir.config_parameter"> | ||
<field name="key">account.invoice.efact.port</field> | ||
<field name="value">22</field> | ||
</record> | ||
<record id="account_invoice_efact_user" model="ir.config_parameter"> | ||
<field name="key">account.invoice.efact.user</field> | ||
<field name="value">usuario</field> | ||
</record> | ||
<record id="account_invoice_efact_password" model="ir.config_parameter"> | ||
<field name="key">account.invoice.efact.password</field> | ||
<field name="value">password</field> | ||
</record> | ||
<record id="seq_account_invoice_efact" model="ir.sequence"> | ||
<field name="name">Integration eFact</field> | ||
<field name="code">account.invoice.integration.face</field> | ||
<field name="prefix">eFACT</field> | ||
<field name="padding">8</field> | ||
</record> | ||
<record id="integration_efact" model="account.invoice.integration.method"> | ||
<field name="name">eFACT</field> | ||
<field name="code">eFACT</field> | ||
<field name="sequence_id" ref="l10n_es_facturae_efact.seq_account_invoice_efact"/> | ||
</record> | ||
<record id="update_efact_job" model="ir.cron"> | ||
<field name="name">eFACT update Job</field> | ||
<field name="active">True</field> | ||
<field name="user_id" ref="base.user_root"/> | ||
<field name="priority">8</field> | ||
<field name="interval_type">hours</field> | ||
<field name="state">code</field> | ||
<field name="numbercall">-1</field> | ||
<field name="model_id" ref="l10n_es_facturae.model_account_invoice_integration_log"/> | ||
<field name="code">model.efact_check_history()</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * l10n_es_facturae_efact | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2018-11-28 23:09+0000\n" | ||
"Last-Translator: Enric Tobella <etobella@creublanca.es>\n" | ||
"Language-Team: none\n" | ||
"Language: es\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.2.2\n" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/account_invoice_integration_method.py:20 | ||
#, python-format | ||
msgid "Certificate must be added for company" | ||
msgstr "Se debe añadir un certificado a la compañía" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/account_invoice_integration_method.py:23 | ||
#, python-format | ||
msgid "Certificate password must be added for company" | ||
msgstr "Se debe añadir un password para el certificado en la compañía" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_account_invoice_integration_method_code_7779 | ||
msgid "Code" | ||
msgstr "Código" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_res_company | ||
msgid "Companies" | ||
msgstr "Compañías" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_res_partner | ||
msgid "Contact" | ||
msgstr "Contacto" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/res_partner.py:28 | ||
#, python-format | ||
msgid "Country must be defined in order to send to e.Fact" | ||
msgstr "Se debe definir el País para poder enviar por e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_account_invoice_integration_efact_hub_id | ||
msgid "Efact Hub" | ||
msgstr "Hub de eFact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_account_invoice_integration_efact_reference | ||
msgid "Efact Reference" | ||
msgstr "Referencia de eFact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/res_partner.py:21 | ||
#, python-format | ||
msgid "Facturae must be selected in order to send to e.Fact" | ||
msgstr "Se debe seleccionar el campo facturae para poder enviar por e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_account_invoice_integration_log_hub_message_id | ||
msgid "Hub Message" | ||
msgstr "Menaje del Hub" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/res_partner.py:32 | ||
#, python-format | ||
msgid "State must be defined in Spain in order to send to e.Fact" | ||
msgstr "Se debe definir la provinica en España para poder enviar por e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/res_partner.py:25 | ||
#, python-format | ||
msgid "Vat must be defined in order to send to e.Fact" | ||
msgstr "Se debe definir el identificador fiscal para poder enviar por e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_account_invoice_integration | ||
msgid "account.invoice.integration" | ||
msgstr "account.invoice.integration" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_account_invoice_integration_log | ||
msgid "account.invoice.integration.log" | ||
msgstr "account.invoice.integration.log" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_account_invoice_integration_method | ||
msgid "account.invoice.integration.method" | ||
msgstr "account.invoice.integration.method" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.ui.view,arch_db:l10n_es_facturae_efact.res_config_settings_view_form | ||
msgid "e.Fact Configuration" | ||
msgstr "Configuración e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_config_settings_efact_port | ||
msgid "e.Fact SSH port" | ||
msgstr "Puerto SSH para e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_company_facturae_efact_code | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_partner_facturae_efact_code | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_users_facturae_efact_code | ||
msgid "e.Fact code" | ||
msgstr "Código e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: code:addons/l10n_es_facturae_efact/models/res_partner.py:37 | ||
#, python-format | ||
msgid "e.Fact code must be correctly defined" | ||
msgstr "El código e.Fact debe estar correctamente definido" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_config_settings_efact_password | ||
msgid "e.Fact password" | ||
msgstr "Password e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_config_settings_efact_server | ||
msgid "e.Fact server location" | ||
msgstr "Localización del servidor e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model.fields,field_description:l10n_es_facturae_efact.field_res_config_settings_efact_user | ||
msgid "e.Fact user" | ||
msgstr "Usuario de e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.actions.server,name:l10n_es_facturae_efact.update_efact_job_ir_actions_server | ||
#: model:ir.cron,cron_name:l10n_es_facturae_efact.update_efact_job | ||
#: model:ir.cron,name:l10n_es_facturae_efact.update_efact_job | ||
msgid "eFACT update Job" | ||
msgstr "Actualizar estados e.Fact" | ||
|
||
#. module: l10n_es_facturae_efact | ||
#: model:ir.model,name:l10n_es_facturae_efact.model_res_config_settings | ||
msgid "res.config.settings" | ||
msgstr "res.config.settings" |
Oops, something went wrong.