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

Hi,

I would like to add a ongoing customer number to each of my (and new) custumers. I tried to add a seqence in settings -> Sequence & Identifiers but i can't seem to add it to the customer account. 

For example Customer John has customer ID  123.  Customer Chris had customer ID 124  and so on.

I read something about adding a new .xml file but I don't know how to do this.

If this Question is allready asked i woul like to know where I can find the Question and the anwser.

Thanks!

Regards,

Malissa

Ảnh đại diện
Huỷ bỏ

Did you think about any business benefit for that? Odoo is handling the proper identification by itself, there is no need for it, as long as you do not have to import historic data.

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

you can use:

 _inherit = "res.parner"

and sequence:

https://www.odoo.com/forum/help-1/question/how-to-inherit-an-auto-generated-sequence-pattern-through-xml-47588

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
1083
0
thg 2 23
5100
0
thg 1 23
94
1
thg 10 22
4345
0
thg 4 22
2888