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

hai all, 

im newbie in Odoo, what i want to say is what is the different between (please explain it as detail as you can)


1. BILL/%(range_year)s/

and


2. BILL/%(year)s/

my goal is to create document sequence numbering which restart to 1 every months.


i used odoo 12 community


thanks for your detail explaination to me.

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

You can use sub-sequence for this.

See following screenshot where you can configure the sequences for each months (date range):



อวตาร
ละทิ้ง
ผู้เขียน

Oke, then what is the implications if I add range_ and I don't?

คำตอบที่ดีที่สุด

You need to use range_year (or range_month, etc.) in order to have sequences.


The setup for this is:

  1. Tick the box: Use subsequences per date_range
  2. Enter periods and a starting number (optional if using year)
  3. Use range_year or range_month (etc.) in the prefix

If you don’t create a date range, Odoo will automatically create one for the calendar year (as per the above example), but you will have to create the monthly, weekly, and other ranges manually.

https://odootricks.tips/sequence-document-numbering

อวตาร
ละทิ้ง
ผู้เขียน

Thanks, it works for me

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 25
1183
Do sequences roll over… แก้ไขแล้ว
1
ก.ย. 21
4020
2
ธ.ค. 23
28930
0
ม.ค. 24
2821
1
ส.ค. 23
1894