Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9464 มุมมอง

Good Morning

I want to use "Contact's Reference" (in Spanish, Referencia de Contacto), to show an ID for a partner. In our old ERP solution a client/supplier/article must have a number.. Starting from 1..2..3... and so on.

I've created a sequence in Configuration->Technical->Sequences but I don't know how to apply it to that field i've mentioned before....

I've tried with two modules, one made by a developer, which didn't work, and another from the OCA, base_partner_sequence, which didn't work too..

I want only a way to make the field auto-filled whenever a new client/supplier/article is created.

Thank you

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

maybe this posts could help you: 


1) https://www.odoo.com/fr_FR/forum/help-1/question/how-to-make-an-auto-incremental-field-in-odoo-with-prefix-letters-85794

2) https://www.odoo.com/es_ES/forum/help-1/question/how-to-get-the-next-value-of-a-sequence-in-an-odoo-python-model-87859


Good luck!!


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 17
5157
0
มี.ค. 25
1418
0
ม.ค. 25
3495
1
ส.ค. 23
14856
change password แก้ไขแล้ว
1
ส.ค. 23
13509