Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

changing Invoice Number Sequence in Odoo 16

Subscriure's

Get notified when there's activity on this post

This question has been flagged
7 Respostes
36685 Vistes
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
Descartar
Paul Pallweber
Autor

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
Descartar
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
Descartar
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
Descartar
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
Descartar
Avatar
Michal Handl
Best Answer

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

0
Avatar
Descartar
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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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