-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
33 changed files
with
1,898 additions
and
1 deletion.
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
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 FACe | ||
========================= | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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_face | ||
: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_face | ||
: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 FACe. | ||
La gestión del envío se realiza mediante los certificados con los que se firma. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
Este módulo depende del módulo *l10n_es_facturae* y sus dependencias | ||
|
||
Es necesario tener instalado el módulo xmlsec y zeep en la versión que envía en | ||
formato c14n. | ||
|
||
Configuration | ||
============= | ||
|
||
* Es necesario añadir el correo electrónico al que notificar los cambios de | ||
estado en la empresa | ||
* Se debe configurar el servidor de envío | ||
* Por defecto se añado el servicio web de test: | ||
https://se-face-webservice.redsara.es/facturasspp2 | ||
* Si queremos añadir el de producción, debemos cambiar el parámetro por | ||
https://webservice.face.gob.es/facturasspp2 y modificar el certificado en | ||
parámetros de sistema | ||
|
||
Usage | ||
===== | ||
|
||
* Accedemos a un cliente y le configuramos la factura electrónica | ||
* Accedemos a una factura validada del cliente y pulsamos el botón | ||
'Enviar a FACe' | ||
* Podremos añadir adjuntos que al envío de la factura original | ||
* Pulsamos 'Enviar' en el registro de envío a FACe | ||
* Si el envío es correcto, nos mostrará el resultado y el número de registro | ||
* Si el envío es correcto, podremos actualizar el estado de forma online | ||
* Si el envío es correcto, podremos solicitar la anulación de la factura | ||
pulsando 'Cancelar Envío' e introduciendo el motivo | ||
* Un registro Enviado correctamente no puede ser Eliminado | ||
* Sólo puede existir un envío Enviado correctamente | ||
* Se genera 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_face%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 | ||
|
||
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_face>`_ 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,4 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models | ||
from . import wizard |
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,29 @@ | ||
# © 2017 Creu Blanca | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Envío de Factura-e a FACe", | ||
"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/face_data.xml", | ||
"views/res_company_view.xml", | ||
"views/res_config_views.xml", | ||
"wizard/account_invoice_integration_cancel_view.xml" | ||
], | ||
"external_dependencies": { | ||
"python": [ | ||
"OpenSSL", | ||
"zeep", | ||
"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,60 @@ | ||
<?xml version="1.0"?> | ||
<odoo noupdate="1"> | ||
<record id="account_invoice_face_server" model="ir.config_parameter"> | ||
<field name="key">account.invoice.face.server</field> | ||
<field name="value">https://se-face-webservice.redsara.es/facturasspp2?wsdl</field> | ||
</record> | ||
<record id="face_certificate" model="ir.attachment"> | ||
<field name="name">account.invoice.face.certificate</field> | ||
<field name="datas_fname">face_certificate.crt</field> | ||
<field name="datas">LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUYvVENDQk9XZ0F3SUJBZ0lRVWo1b2Z5N1RZ | ||
WGhXc0tCWlZ6Nmx4REFOQmdrcWhraUc5dzBCQVFzRkFEQkgKTVFzd0NRWURWUVFHRXdKRlV6RVJN | ||
QThHQTFVRUNnd0lSazVOVkMxU1EwMHhKVEFqQmdOVkJBc01IRUZESUVOdgpiWEJ2Ym1WdWRHVnpJ | ||
RWx1Wm05eWJjT2hkR2xqYjNNd0hoY05NVFl3TWpBeU1USXlOakF4V2hjTk1Ua3dNakF5Ck1USXlO | ||
VFU1V2pDQjJERUxNQWtHQTFVRUJoTUNSVk14RHpBTkJnTlZCQWNNQmsxQlJGSkpSREU4TURvR0Ex | ||
VUUKQ2d3elRVbE9TVk5VUlZKSlR5QkVSU0JJUVVOSlJVNUVRU0JaSUVGRVRVbE9TVk5VVWtGRFNV | ||
OU9SVk1nVU1PYQpRa3hKUTBGVE1Vc3dTUVlEVlFRTERFSkVTVkpGUTBOSnc1Tk9JRVJGSUZSRlEw | ||
NVBURTlIdzQxQlV5QkVSU0JNClFTQkpUa1pQVWsxQlEwbkRrMDRnV1NCTVFWTWdRMDlOVlU1SlEw | ||
RkRTVTlPUlZNeEVq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cjkxSUNlamZHbFZacDFBRVh5ClAzakp6aWJyMFNLeHdFdDMy | ||
ci8rWmpUbVFnckx1QW1HcmdjVnNqQUFtMkNwN3VzSllhUy9TeVBGajFRRFVsWm8KVk91bzRkZmdG | ||
VVpMQ1ZCZk1VQlk3M1dOYXpWQW9qcVpoRzlkOHRBZ2cyYzY0bnVzdU1EWSsyNU1MVUtGenNiegpG | ||
Zz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0KCg==</field> | ||
</record> | ||
<record id="seq_account_invoice_face" model="ir.sequence"> | ||
<field name="name">Integration FACe</field> | ||
<field name="code">account.invoice.integration.face</field> | ||
<field name="prefix">FACe</field> | ||
<field name="padding">8</field> | ||
</record> | ||
<record id="integration_face" model="account.invoice.integration.method"> | ||
<field name="name">FACe</field> | ||
<field name="code">FACe</field> | ||
<field name="sequence_id" ref="l10n_es_facturae_face.seq_account_invoice_face"/> | ||
</record> | ||
</odoo> |
Oops, something went wrong.