Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.0.3
Category
Accounting & Finance
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 08:42:46
Authors
Odoo Community Association (OCA), Creu Blanca
Maintainers
Odoo Community Association (OCA), Creu Blanca
Committers
Enric Tobella, Weblate, OCA-git-bot, oca-ci, Luis Rodriguez
Odoo dependencies
OCA/account-financial-reporting:
OCA/bank-payment:
OCA/community-data-files:
OCA/edi:
OCA/edi-framework:
OCA/l10n-spain:
OCA/reporting-engine:
OCA/server-ux:
odoo/odoo:
- web
- bus
- uom
Python dependencies
pycountry, xmlsig, schwifty==2024.4.0, unidecode, PyYAML, openupgradelib
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
edi_exchange_record_view_form edi.exchange.record.form (in l10n_es_facturae_face) edi.exchange.record form Inherits edi_core_oca.edi_exchange_record_view_form
edi_l10n_es_facturae_face_cancel_form_view edi.l10n.es.facturae.face.cancel.form (in l10n_es_facturae_face) edi.l10n.es.facturae.face.cancel form New
view_company_form res.company.form res.company form Inherits l10n_es_facturae.view_company_form
view_move_form account.move.form account.move form Inherits l10n_es_facturae.view_move_form
view_partner_form res.partner.form res.partner form Inherits l10n_es_facturae.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (9)

New fields (2)
  • l10n_es_facturae_cancellation_status Selection
    copy=False readonly=True selection=[('face-4100', 'Not requested'), ('face-4200', 'Cancellation requested'), ('face-4300', 'Cancellation accepted'), ('face-4400', 'Cancellation rejected')] string='Facturae cancellation status' tracking=True
  • l10n_es_facturae_status Selection
    copy=False readonly=True selection=[('face-1200', 'Registered on REC'), ('face-1300', 'Registered on RCF'), ('face-2400', 'Accepted'), ('face-2500', 'Paid'), ('face-2600', 'Rejected'), ('face-3100', 'Cancellation approved')] string='Facturae status' tracking=True
Public methods (1)
  • validate_facturae_fields(self)

New fields (4)
  • l10n_es_facturae_cancellation_motive Text
    readonly=True string='Facturae Cancellation motive'
  • l10n_es_facturae_cancellation_status Selection
    readonly=True selection=<expr> string='Facturae Cancellation state'
  • l10n_es_facturae_motive Text
    readonly=True string='Facturae description'
  • l10n_es_facturae_status Selection
    readonly=True selection=<expr> string='Facturae State'
Public methods (0)

No public methods.

New fields (2)
  • motive Char
    required=True
  • move_id Many2one → account.move
    required=True args: 'account.move'
Public methods (1)
  • cancel_face(self)

New fields (0)

No new fields.

Public methods (4)
  • cancel(self, public_crt, private_key, identifier, motive)
  • consult_invoice(self, public_crt, private_key, invoice_number)
  • consult_invoices(self, public_crt, private_key, invoices)
  • send_webservice(self, public_crt, private_key, file_data, file_name, email, anexos_list=False)

New fields (0)

No new fields.

Public methods (2)
  • output_validate(self, exchange_record, **kw)
  • send(self, exchange_record)

New fields (0)

No new fields.

Public methods (3)
  • generate(self, exchange_record)
  • output_validate(self, exchange_record, **kw)
  • send(self, exchange_record)

New fields (0)

No new fields.

Public methods (3)
  • input_validate(self, exchange_record, **kw)
  • process(self, exchange_record)
  • receive(self, exchange_record)

New fields (1)
  • face_email Char
Public methods (1)
  • check_face_email(self)
    @api.constrains('face_email')

New fields (1)
  • l10n_es_facturae_sending_code Selection
    string='Sending method' args: [('face', 'FACe')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
169 days ago
Last activity
51 days ago
Repository
OCA/l10n-spain
Pull request
[19.0][MIG] l10n_es_facturae_face (#4882)