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
    • Validations
    • 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
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • 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
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et 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
    Browse all 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
    • Devenez partenaire
    • Services for Partners
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
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

changing Invoice Number Sequence in Odoo 16

S'inscrire

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

Cette question a été signalée
7 Réponses
36617 Vues
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
Ignorer
Paul Pallweber
Auteur

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
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Avatar
Exfactor Infosys Private Limited
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Avatar
Michal Handl
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
Ken
Meilleure réponse

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
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

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