Punto de venta adaptado a la legislación española por dispositivo
- Cubre el requerimiento legal de secuencias de facturas simplificadas del TPV en el caso de que los dispositivos se queden sin conexión.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets Spanish point-of-sale shops assign a separate simplified-invoice numbering sequence to each physical POS device, so each till keeps its own legal invoice numbering even when devices work offline.
When this module is installed, a new setting appears in Point of Sale configuration: "Sequencing by physical device". Once enabled, you can create a list of physical devices (for example "Till 1", "Till 2") under Point of Sale > Configuration > POS Physical devices, and each device is linked to its own numbering sequence.
- Each device gets its own simplified-invoice prefix, padding and next number, shown on the device record.
- When a cashier opens the POS, a popup asks which physical device is being used; the chosen device is locked on the server so two tills cannot use the same one at the same time.
- The device name is displayed in the POS top bar, and the device is stored on each
pos.order(field "POS Physical Device"). - Orders can be filtered and grouped by physical device in the POS orders list.
- The simplified invoice number is taken from the device's sequence instead of the POS configuration, and the order name is set from the Spanish unique ID when the order is paid.
- If no device is available or none is selected, the session cannot start and the POS closes with a warning.
- Devices are company-specific, and only POS managers can create or change them.
Depends on
Models and fields (6)
- pos.order · extends an existing modelpos_device_id (POS Physical Device), pos_sequence_by_device
- pos.config · extends an existing modelpos_device_ids (Available POS devices), pos_sequence_by_device
- pos.device · new modelname, locked, sequence, company_id (Company), device_simplified_invoice_number (Sim.Inv number), device_simplified_invoice_prefix (Simplified Invoice prefix), device_simplified_invoice_padding (Simplified Invoice padding)
- pos.session · extends an existing model
- res.company · extends an existing modelpos_sequence_by_device
- res.config.settings · extends an existing modelpos_device_ids, pos_sequence_by_device
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-spain.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0Activación de secuencia por dispositivo
- Esta configuración se activa en Punto de venta \> Configuración \> Ajustes \> Secuenciación \> Secuencia TPV por dispositivo.
Configuración de dispositivos físicos por TPV
- Acceder a Punto de venta \> Configuración \> Dispositivos físicos TPV
- Crear dispositivos y sus secuencias. Cada dispositivo debe tener su propia secuencia.
- En Punto de venta \> Configuración \> Ajustes \> Secuenciación \> Dispositivos físicos TPV.
- Establecer los dispositivos físicos disponibles en ese punto de venta. Si se deja en blanco, se podrán seleccionar todos los dispositivos creados.
Usage
Source · Odoo 18.0En caso de la activación de secuencias por dispositivo:
Selección de dispositivo
Al entrar en la sesión se establecerá el dispositivo a utilizar.
- En caso de que haya conexión, el dispositivo es bloqueado y no puede ser seleccionado al entrar a la sesión desde otro dispositivo.
- En caso de que no haya conexión, al intentar realizar el primer pedido el dispositivo será expulsado de la sesión. Cuando se vuelva a conectar y entre en la sesión, el pedido estará pendiente. Se podrá acabar de tramitar.
Transcurso de sesión
Se irán haciendo pedidos, y se establecerá la secuencia indicada en la definición del dispositivo.
En caso de pérdida de conexión: Cuando se recupere la conexión se incluirán los pedidos en la sesión.
En caso de pérdida de conexión + incidente en dispositivo (pérdida de batería, cierre de ventana o navegador): El dispositivo se queda bloqueado. Tiene que ser desbloqueado manualmente para volver a usarse. En caso de entrar en la misma sesión, los pedidos pendientes se incluirán en la misma sesión. En caso de ser una sesión diferente, serán incluidos en una sesión de rescate siguiendo el estándar de Odoo.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.