Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.1.2
Category
Accounting & Finance
Folder size
1.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 08:09:10
Authors
Odoo Community Association (OCA), Binovo
Maintainers
Odoo Community Association (OCA), Binovo
Committers
Weblate, OCA-git-bot, oca-ci, r.perez
Odoo dependencies
Python dependencies
unidecode, qrcode, xmlsig, xmltodict
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits l10n_es_pos.res_config_settings_view_form
view_pos_pos_form_inherit pos.order.form.inherit pos.order form Inherits point_of_sale.view_pos_pos_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (1)
  • tbai_substitution_pos_order_id Many2one → pos.order
    comodel_name='pos.order' copy=False help='Link between a validated Customer Invoice and its substitute.'
Public methods (1)
  • tbai_prepare_invoice_values(self)

New fields (5)
  • iface_l10n_es_simplified_invoice Boolean
    default=True
  • tbai_certificate_id Many2one → tbai.certificate
    comodel_name='tbai.certificate' copy=False domain="[('company_id', '=', company_id)]" string='TicketBAI Certificate'
  • tbai_device_serial_number Char
    string='Device Serial Number'
  • tbai_enabled Boolean
    readonly=True related='company_id.tbai_enabled'
  • tbai_last_invoice_id Many2one → tbai.invoice
    comodel_name='tbai.invoice' copy=False string='Last TicketBAI Invoice sent'
Public methods (2)
  • get_tbai_p12_and_friendlyname(self)
  • open_existing_session_cb(self)

New fields (5)
  • tbai_enabled Boolean
    readonly=True related='company_id.tbai_enabled'
  • tbai_invoice_id Many2one → tbai.invoice
    comodel_name='tbai.invoice' copy=False string='TicketBAI PoS Order'
  • tbai_invoice_ids One2many → tbai.invoice
    comodel_name='tbai.invoice' inverse_name='pos_order_id' string='TicketBAI Invoices'
  • tbai_response_ids Many2many → tbai.response
    comodel_name='tbai.response' compute='_compute_tbai_response_ids' string='Responses'
  • tbai_vat_regime_key Many2one → tbai.vat.regime.key
    comodel_name='tbai.vat.regime.key' string='VAT Regime Key'
Public methods (5)
  • tbai_get_value_fecha_expedicion_factura(self)
  • tbai_get_value_hora_expedicion_factura(self)
  • tbai_get_value_num_factura(self)
  • tbai_get_value_serie_factura(self)
  • tbai_prepare_invoice_values(self, pos_order=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • pos_tbai_certificate_id Many2one
    readonly=False related='pos_config_id.tbai_certificate_id'
  • pos_tbai_device_serial_number Char
    related='pos_config_id.tbai_device_serial_number' string='PoS TicketBAI Device Serial Number'
Public methods (0)

No public methods.

New fields (1)
  • pos_order_id Many2one → pos.order
    comodel_name='pos.order'
Public methods (3)
  • build_tbai_simplified_invoice(self)
  • mark_chain_as_error(self, invoice_to_error)
    @api.model
  • send(self, **kwargs)

Loading…

Loading…

Loading…

Loading…

Loading…