Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
7 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis 0 migration notes 9 models 5 views 0 HTTP endpoints

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.

Dependencies

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
pyjwt, pycountry, xmlsig, schwifty==2024.4.0, unidecode, PyYAML, openupgradelib
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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)
  • generate_jwt(self, public_cert, private_key)
  • 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…

Loading…