Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
salesV18
1 Reply
1584 Views
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
Discard
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
Best Answer
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
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
V18: Discount resets to 0 when changing quantity on sales order line Solved
sales discount V18
Avatar
Avatar
Avatar
Avatar
3
Mar 26
1640
Deliverynote for customer with price and discount
sales deliverynote V18
Avatar
Avatar
1
Dec 25
1191
How to create sales order with Bulk upload method with about 100 steps
sales
Avatar
Avatar
Avatar
2
Jun 26
965
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
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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