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

Hi,

I use Odoo 8 and have the following (maybe unusual) invoice numbering schema: YEAR-MONTH-DAY.NUMBER.
In Odoo I configured it as: "%(year)s-%(month)s-%(day)s".

Everything works fine, but I want to reset the NUMBER part on each day and start with 1 again. I can do this manually every day but I think this is automatable with a cronjob or another feature. Someone of you has a solution for this?

Kind Regards
Clemens

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

Would you advise to reset the counter every year for all journals?

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

You can reset the Number automatically using Scheduled Actions.

  https://www.odoo.com/forum/help-1/question/resetting-sequencer-padding-every-day-54738 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hi Prakash,

I just want to say thank you for your answer! My reply is a little late but I got this working and wrote down some details for other interested users here: https://wiki.nordwest.freifunk.net/Technik/Dokumentation/Odoo#Daily_reset_of_invoice_numbers 


Kind Regards

Clemens

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

You're Welcome. Nice Post !!!

Could we use the same module, adapted to yearly reset the counter for all journals?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 22
2365
0
thg 6 17
2515
2
thg 6 24
4067
0
thg 7 16
3800
0
thg 3 15
3561