Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
salesV18
1 Répondre
1579 Vues
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
Ignorer
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
Meilleure réponse
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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
V18: Discount resets to 0 when changing quantity on sales order line Résolu
sales discount V18
Avatar
Avatar
Avatar
Avatar
3
mars 26
1639
Deliverynote for customer with price and discount
sales deliverynote V18
Avatar
Avatar
1
déc. 25
1191
How to create sales order with Bulk upload method with about 100 steps
sales
Avatar
Avatar
Avatar
2
juin 26
950
How can a small business increase sales using Facebook?
sales
Avatar
0
mai 26
3
¿Cómo hablar con una persona en LATAM?
sales
Avatar
0
juin 26
2
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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