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?
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.
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
|Asked: 5/1/13, 10:57 AM|
|Seen: 2086 times|
|Last updated: 3/16/15, 8:10 AM|