Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Sectores
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Asesoría contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos corporativos
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Oficios
    • Servicios de mantenimiento
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de vallas publicitarias
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu asesoría contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo course gettingstarted community database
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo course gettingstarted community database
Sobre este foro
  1. Getting Started
  2. Foro

v 10: numbering sequence of invoices interrupted

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Esta pregunta ha sido marcada
sequenceinvoicingnumberingjumps
1 Responder
2979 Vistas
Avatar
Ondrej Gavura

Dear all,


One of our customers uses the POS and Accounting with seperate numbering schemes.


The bills coming out of the POS are perfectly sequenced no issue here.

But in accounting for some reason since August last year, the Invoice numbering sequence is always interrupted. We have checked the Sequence log files, but there is no number missing in those files. But still the system jumps over some numbers (see https://drive.google.com/file/d/1O7gQLXERSOeAqNKc7UoBb66Ei-pckIeJ/view?usp=sharing).


Did someone had same issue? What could cause that?

Unfortunately it is the only customer with that issue


BR, Ondrej

0
Avatar
Descartar
Avatar
Javier Garcia
Mejor respuesta

Hi,

This is a known behavior in Odoo; sequence gaps don't always mean missing records. The most common causes:

1. Cancelled or draft invoices that consumed a sequence number When an invoice is validated, it gets a number. If it's then cancelled and a refund/reset to draft flow was used, the number is consumed but the invoice may not appear in the visible list. Check Accounting > Invoices with filters set to show all states including cancelled.

2. Concurrent transactions / race conditions PostgreSQL sequences are non-transactional by design; if two invoices are created simultaneously and one is rolled back, the sequence number is still consumed. This is expected and actually required by law in some countries (audit trail).

3. Refund/credit notes sharing the same sequence If credit notes use the same sequence as invoices, they consume numbers that look like gaps in the invoice list. Check if credit notes are numbered in the same series.

4. Since August specifically; check if any automated action, scheduled job, or third-party module was activated around that time that creates and cancels draft invoices.

To investigate, run this directly in PostgreSQL:

SELECT name, state, type FROM account_invoice 
WHERE name LIKE 'INV/%' ORDER BY name;

This will reveal any cancelled/draft invoices holding the "missing" numbers.

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Invoice sequence - Add today's date - Odoo 19.3 Resuelto
sequence invoicing
Avatar
Avatar
Avatar
2
may 26
446
How to modify existing sequence parameters?
sequence account.invoice numbering
Avatar
Avatar
Avatar
2
abr 24
19614
Can i issue different invoice numbers for Invoices and Credit Notes? Resuelto
sequence invoicing odoov12
Avatar
1
ago 22
8982
How to change the behavior of bank statement line numbering?
sequence bank_statement numbering
Avatar
0
jun 15
7026
Manufactoring order sequence?
mrp sequence numbering
Avatar
Avatar
Avatar
Avatar
3
mar 15
10194
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now