跳至内容
菜单
此问题已终结
2 回复
7189 查看

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?

形象
丢弃
最佳答案

Have you looked at this :

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

形象
丢弃
编写者

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.

编写者

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.

最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
4
1月 24
5584
0
5月 15
6666
1
3月 15
6233
2
3月 15
10411
1
8月 24
12930