Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Invoice number series

Aleksander Opoczynski
on 5/1/13, 10:57 AM 2,025 views


our company runs different series of invoice numbers with different suffixes depending on the sales region. E.g. for sales in our country we use suffix PL, for intracommunity sales in EU we use suffix EU and for sales outside EU suffix EX.

Is it possible to apply this schema in OpenERP?



| 5 6 8
Cornwall, Canada

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

On 5/1/13, 11:01 AM

yes, I have. But that numbering schema relied on product category, not sales region

Aleksander Opoczynski
on 5/1/13, 11:03 AM

it is helpful to other members to be more detailed in your question, such as describing some of the steps you have already taken while attempting to find a solution on your own.

on 5/1/13, 12:29 PM

I am just starting with OpenERP, so I keep myself in frames of standard operations. I do not feel strong enough to do not standard tests yet.

Aleksander Opoczynski
on 5/1/13, 3:34 PM


| 5 4 7
Baarn, Netherlands
On 5/2/13, 8:50 PM

My thought is to create a module, which extends sale-order; when saving the offer/order, override the methods: 'write', 'create,', so so you can fill name yourself.

If it is possible to have PL001, EU001 and EX001, you have to create 3 different numbers in the table Settings -> Sequences & Identifiers -> Sequences.

I do not know by heart how to pick nicely the correct number, but I think you get my idea.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 5/1/13, 10:57 AM
Seen: 2025 times
Last updated: 3/16/15, 8:10 AM