Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
8347 Представления

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

Аватар
Отменить

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

Лучший ответ

You can reset the Number automatically using Scheduled Actions.

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

Аватар
Отменить
Автор Лучший ответ

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

Аватар
Отменить

You're Welcome. Nice Post !!!

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

Related Posts Ответы Просмотры Активность
0
апр. 22
2307
0
июн. 17
2483
2
июн. 24
3996
0
июл. 16
3761
0
мар. 15
3491