Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7241 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Have you looked at this :

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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.

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 1 24
5656
0
thg 5 15
6742
1
thg 3 15
6297
2
thg 3 15
10472
1
thg 8 24
13040