跳至內容
選單
此問題已被標幟
4 回覆
9747 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
0
1月 25
1185
1
9月 21
4021
2
12月 23
28936
0
1月 24
2824
1
8月 23
1897