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
    • Approvals
    • 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
    • Estate 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

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
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

changing Invoice Number Sequence in Odoo 16

Subscribe

Get notified when there's activity on this post

This question has been flagged
7 Replies
36659 Views
Avatar
Paul Pallweber

Hello, I have Odoo 16 online and I would like to change the invoice number and add the month: it should look like "INV/%(year)s/%(month)s/"

After reading some forum post I tried to edit a sequence in "Settings -> Technical -> Sequences and Identifiers -> Sequence" Since there are just 3 sequences I tried to add a new one (see attachement). What would I need to put in the field "Sequence Code"? 


0
Avatar
Discard
Paul Pallweber
Author

ok thanks for the answer. I added the line as you see in the screenshot, but it has no effect and the invoice number did not change.... do you know what I could do?

Odoo Developers

https://apps.odoo.com/apps/modules/16.0/od_journal_sequence/

Avatar
Michael Reininger
Best Answer

Hello Michal,

you can change the sequence in the application itself for invoices.

Just follow this steps:

Go to Invoices and mark the last done invoice and choose from Action menu the option "Resequence":


This page opens. Here you can enter in the field "First New Sequence" the sequence you like:


Changed it here to "INVOICE/2023/03/00004" and click on "Confirm":


Enter a new invoice and this new sequence is now used:


Hope this helps you further. I think in the forum there are existing already similar posts.

Thanks and greetings

Michael

7
Avatar
Discard
Dipti Patil

Hi
How will the sequence update each month? When I move from March to April, will I have to manually resequence on the first invoice I create?

Colin Worf

Dipti Patil, did you ever discover the answer to your question here?

Avatar
Raf Wenger
Best Answer

A bit late to the party but with a working solution.
See the official Odoo documentation
https://www.odoo.com/documentation/17.0/applications/finance/accounting/customer_invoices/sequence.html#accounting-invoice-resequencing

Although it is for v17, it works as well in v16.
Not very intuitive at all!

I guess the invoicing sequence is not available in the "Sequences" list because changing an established invoice sequence has serious implications.

Now I'm trying to setup a new invoicing sequence using code for a new database after importing opening balances from a legacy ERP system.
Haven't figured that one out yet!

1
Avatar
Discard
Avatar
Exfactor Infosys Private Limited
Best Answer

Hi Everyone,

I encountered the same issue on Odoo v16, and here's what worked for me:

  1. I set the Customer Invoice sequence code as "account.move" (I found this by activating developer mode, opening a posted invoice, and checking the model name by hovering over the question mark next to the label on the header of the invoice UI).
  2. Initially, the "Resequence" option was not visible under the action menu. However, after posting a draft invoice and selecting it in the Customer Invoice list view, the "Resequence" option became visible.
  3. I posted a customer invoice, then posted and reset it to draft. This allowed me to edit the invoice number in the system to the format I desired (e.g., "INV/2024/04/00001" in my case).

These three methods worked for me and produced the desired result. I hope this helps someone in this forum facing a similar issue with Odoo. I also noticed that there was a customer invoice series automatically created under "Technical" -> "Sequences" for earlier number series alongside my new series, as I advised created as the first option.

For new Odoo users, please note that you only have to use any one method out of these three. I mentioned all findings that might help someone in some way.

Thanks,

CP


1
Avatar
Discard
Colin Worf

im having a hard time understanding how this worked, there are multiple different types of records in the account.move model. for example, invoices, bills, refunded invoices/bills, etc. creating one sequence code for account.move would seemingly override all of these records to share the same INV prefix which is not ideal.

Avatar
niraj bhalala
Best Answer

as the year renew after march my invoice should start with the new invoice no 001 but after applying resequence it shows an error that 001 already exist in previous year so you should start with the higher sequence number from the last save one.

0
Avatar
Discard
Avatar
Michal Handl
Best Answer

Hello Paul, did you solve this problem with changing invoice sequence?

0
Avatar
Discard
Avatar
Ken
Best Answer

I still can't understand why this MAJOR FEATURE has been changed prior to Odoo v14... Without any proper documentation... The sequence settings were nice, now everything needs to be done manually every year before 1st of January... Very annoying, as I have subscriptions invoiced every first day of the month, which means when I didn't change it manually on the 31st of December at midnight, invoice sequence of 2024 will still be in 2023. Even more annoying when the fiscal year is not a calendar year!

For non accounting documents like quotations/orders that is ok, but for invoices, credit notes etc. it's not.

Or am I wrong and if I use a slash the for example 2023/CL/0999 will become 2024/CL/0001 automatically on 1/1/2024 ?

A good practices manual or some documentation on this would be nice, as it's confusing newer (v14+) versions of Odoo don't have sequence settings any more...

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi Paul,

You can add any code name there or can leave it as blank.
The code field is usually used while creating sequences from backend codes with or without conditions.
We'll be using the next_by_code() method and pass in the code to fetch the corresponding sequence code and generate the sequence accordingly.

Regards

-3
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
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 ภาษาไทย 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