# Part of Beyond. Collina Systems proprietary module. { 'name': 'Beyond — Tema POS', 'summary': 'Reskin del POS estilo Beyond (spike D1, Fase 0)', 'description': """ Spike D1 (BRIEF §3): reskin del POS de Odoo 19 vía SCSS + herencia de plantillas OWL, sin tocar el core. Mide la resistencia del framework antes de decidir entre reskin OWL y frontend desacoplado. Incluye: tarjetas de producto grandes con imagen protagonista y precio visible, botones táctiles amplios (≥48px), tipografía y paleta Beyond. El veredicto del spike está en docs/adr/ADR-001-spike-pos.md. """, 'version': '19.0.0.1.0', 'category': 'Beyond', 'author': 'Collina Systems', 'license': 'Other proprietary', # beyond_attendance_qr: la atribución obligatoria se define en términos # de «empleados con cuenta activa», que es un concepto del checador # (`beyond_cuenta_estado`). Sin declararlo, instalar el POS sin el # checador dejaba `sync_from_ui` reventando con KeyError en cada venta. 'depends': ['beyond_customer', 'pos_hr', 'beyond_attendance_qr'], 'data': [ 'security/beyond_pos_security.xml', 'data/menu_cleanup.xml', 'security/ir.model.access.csv', 'views/hr_employee_views.xml', 'views/pos_order_views.xml', 'views/res_partner_pos_views.xml', 'views/productividad_views.xml', ], 'assets': { # El ticket se renderiza de verdad en una prueba unitaria: la # herencia de plantillas del POS la aplica el navegador, así que # un xpath que acierte no prueba que el dato desaparezca. 'web.assets_unit_tests': [ 'beyond_pos_theme/static/tests/**/*.test.js', ], 'point_of_sale._assets_pos': [ # La fuente de la identidad, desde su casa canónica (beyond_base): # el bundle del POS no recibe assets_backend y sin esta línea # Manrope no resuelve en la caja. 'beyond_base/static/src/scss/beyond_fonts.scss', # Los tokens van PRIMERO: el bundle se compila junto y en orden, # y todo el rediseño lee sus variables. 'beyond_pos_theme/static/src/scss/beyond_caja_tokens.scss', 'beyond_pos_theme/static/src/scss/beyond_pos.scss', 'beyond_pos_theme/static/src/scss/beyond_venta.scss', # venta.js define ayudantes que empleados_linea y descuento # importan: va antes que ellos en el bundle. 'beyond_pos_theme/static/src/venta/venta.js', 'beyond_pos_theme/static/src/venta/venta.xml', 'beyond_pos_theme/static/src/scss/beyond_barra.scss', 'beyond_pos_theme/static/src/barra/beyond_barra.js', 'beyond_pos_theme/static/src/barra/beyond_barra.xml', 'beyond_pos_theme/static/src/scss/beyond_dialogos.scss', 'beyond_pos_theme/static/src/scss/beyond_conteos.scss', 'beyond_pos_theme/static/src/conteos/beyond_conteos.js', 'beyond_pos_theme/static/src/conteos/beyond_conteos.xml', 'beyond_pos_theme/static/src/scss/beyond_selectores.scss', 'beyond_pos_theme/static/src/selectores/beyond_selectores.js', 'beyond_pos_theme/static/src/selectores/beyond_selectores.xml', 'beyond_pos_theme/static/src/scss/beyond_cobro.scss', 'beyond_pos_theme/static/src/cobro/beyond_cobro.js', 'beyond_pos_theme/static/src/cobro/beyond_cobro.xml', 'beyond_pos_theme/static/src/scss/beyond_ordenes.scss', 'beyond_pos_theme/static/src/ordenes/beyond_ordenes.js', 'beyond_pos_theme/static/src/ordenes/beyond_ordenes.xml', 'beyond_pos_theme/static/src/product_card/product_card.js', 'beyond_pos_theme/static/src/xml/product_card.xml', 'beyond_pos_theme/static/src/empleados_linea/empleados_linea.js', 'beyond_pos_theme/static/src/receipt/beyond_receipt.js', 'beyond_pos_theme/static/src/receipt/beyond_receipt.xml', 'beyond_pos_theme/static/src/empleados_linea/empleados_linea.xml', 'beyond_pos_theme/static/src/numpad_venta/numpad_venta.js', 'beyond_pos_theme/static/src/control_buttons/sin_nota.xml', 'beyond_pos_theme/static/src/control_buttons/sin_factura.xml', 'beyond_pos_theme/static/src/selector_clientes/selector_clientes.js', 'beyond_pos_theme/static/src/atribucion_obligatoria/atribucion_obligatoria.js', 'beyond_pos_theme/static/src/venta_limpia/venta_limpia.js', 'beyond_pos_theme/static/src/venta_limpia/venta_limpia.xml', 'beyond_pos_theme/static/src/api_pos/contrato.js', # De beyond_base, y a propósito: el mensaje de la cámara es UNO # para el backend y para el POS, y los bundles son distintos. Sin # esta línea, el import de camara_pos.js no resuelve. 'beyond_base/static/src/barcode/beyond_camara_mensaje.js', # El POS lee con el MISMO componente del core, así que el ajuste # de velocidad tiene que estar también en su bundle. 'beyond_base/static/src/barcode/beyond_lector_rapido.js', 'beyond_pos_theme/static/src/camara/camara_pos.js', 'beyond_pos_theme/static/src/cliente_de_caja/cliente_de_caja.js', 'beyond_pos_theme/static/src/camara/camara_pos.xml', 'beyond_pos_theme/static/src/descuento/descuento.js', 'beyond_pos_theme/static/src/selector_rango/selector_rango.js', 'beyond_pos_theme/static/src/selector_rango/selector_rango.xml', 'beyond_pos_theme/static/src/selector_rango/selector_rango.scss', 'beyond_pos_theme/static/src/descuento/descuento.xml', ], }, 'demo': [ 'demo/demo_pos.xml', ], 'installable': True, 'application': False, }