Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
10153 Tampilan

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

Avatar
Buang

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.

Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 25
1067
0
Feb 23
5068
0
Jan 23
94
1
Okt 22
4338
0
Apr 22
2879