Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Comunidad
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

ENTREPRISE V18-Automatic draft Delivery Notes on Sales Orders causing sequence gaps and date inconsistencies

Suscribirse

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

Se marcó esta pregunta
salesV18
1 Responder
1586 Vistas
Avatar
TITI
hello,
I want to share an issue I am facing with Odoo regarding automatic draft Delivery Notes for Sales Orders, which can cause serious problems in sequence numbering and audit compliance.

Issue: Draft Delivery Notes and sequence gaps

*When a Sales Order is created, Odoo automatically generates a draft Delivery Note.

*A sequence number is assigned immediately, even though the Delivery Note is not validated.

*If this draft Delivery Note is later cancelled, the sequence number is consumed and cannot be reused, even if the BL never existed in reality.

*This can create gaps in the sequence and incoherence between BL numbers and actual delivery dates.

Example of the problem:

DL001 – validated on 10/03/2025

DL002 – draft created on 10/02/2025, then cancelled

DL003 – validated on 05/03/2025

Problems observed:

Sequence gap: BL002 never existed officially, but the number is consumed

Date mismatch: BL003 has a validation date earlier than the draft BL002

From a fiscal and audit perspective, this is risky because Delivery Note numbers must be continuous and chronological.

Question: Is there a  way in Odoo to:

*Prevent draft Delivery Notes from consuming sequence numbers prematurely

*Ensure sequence numbers are assigned only when the Delivery Note is validated
 Thnaks lot,

0
Avatar
Descartar
Codesphere Tech

Hello,
It is not possible by Odoo standard way because delivery Notes are treated as operational documents, not fiscal ones, so the sequence number is assigned at creation - even in draft.
For audit purposes, cancelled and draft documents remain fully traceable and can be documented to explain sequence gaps.
Hope it helps
Thanks

Chris TRINGHAM

You might be able to copy and adapt this approach (for separate sequence numbers for Quotations and Sales Orders): https://odootricks.tips/different-sequence-numbering-for-quotations/

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta
Hi,

In Odoo Enterprise v18, the automatic creation of draft Delivery Notes when a Sales Order is confirmed is standard behavior, not a defect. Odoo assigns a sequence number to the delivery as soon as the picking is created, even in draft state. If that delivery is later cancelled, the sequence number is still considered used and is not reused, which naturally leads to gaps in numbering.

From Odoo’s design perspective, delivery note numbers are treated as technical identifiers, not as fiscal or legal numbers. Because of this, Odoo allows gaps and does not enforce chronological order based on validation dates. The creation date of a delivery note and its validation date are independent, which explains why later numbers can be validated earlier than draft ones that were cancelled.

This behavior can conflict with fiscal or audit requirements in countries where delivery notes must be continuous and chronological. Unfortunately, there is no standard configuration in Odoo v18 to prevent draft delivery notes from consuming sequence numbers or to delay numbering until validation. Unlike invoices, delivery notes are not handled as fiscal documents by default.

The practical options are limited. Most companies accept Odoo’s internal numbering and rely on invoices for fiscal continuity. In regulated environments, the usual solution is to introduce a separate fiscal delivery note number that is assigned only at validation and used on printed or electronic documents. This approach requires a small customization but ensures legal compliance without breaking Odoo’s standard logistics flow.

Hope it helps

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

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
V18: Discount resets to 0 when changing quantity on sales order line Resuelto
sales discount V18
Avatar
Avatar
Avatar
Avatar
3
mar 26
1642
Deliverynote for customer with price and discount
sales deliverynote V18
Avatar
Avatar
1
dic 25
1192
How to create sales order with Bulk upload method with about 100 steps
sales
Avatar
Avatar
Avatar
2
jun 26
989
How can a small business increase sales using Facebook?
sales
Avatar
0
may 26
3
¿Cómo hablar con una persona en LATAM?
sales
Avatar
0
jun 26
2
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 de código abierto que cubren 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.

Sitio web hecho con

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