Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
7106 Vistas

Hi,

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?

Avatar
Descartar
Mejor respuesta

Have you looked at this :

https://accounts.openerp.com/forum/Help-1/question/10956/

Avatar
Descartar
Autor

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

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.

Autor

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.

Mejor respuesta

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.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
ene 24
5484
0
may 15
6595
1
mar 15
6086
2
mar 15
10331
1
ago 24
12778