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

Hello Odoo community,

I have a question regarding setting up subscriptions in Odoo. For example, let’s say I have a subscription that starts on February 22, 2025 and ends on February 22, 2026. Instead of having the invoice generated on the start date of the subscription, I want the invoice to be sent one month in advance, i.e., on January 22, 2025.

These dates are just fictitious examples, but the key point is that I want the invoice to always be sent one month before the start date of the subscription (or even two months in advance, depending on the case).

I have already tried adjusting the billing frequency, but I’m not sure how to set it up so that the invoice is generated automatically before the start date, as I want this process to be fully automated without having to do it manually each time.

Has anyone experienced something similar in Odoo? Any help or guidance would be much appreciated!

Thank you in advance,


Davy

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

without custom coding, one way you can workaround  is to 

set the "Start Date" (under "Other Info" tab of your subscription) to be 11 months AFTER the Start Date. that way the invoice will be sent on "Next Invoice Date" which is 1 month before the next renewal and moving forward.

The immediate invoice you can immediately click on "Create Invoice" and send

This is a workaround , hope it helps, it will take of the manual work subsequently and can be done on Odoo Online

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


It can be automatically generate invoices based on the Next Invoice Date specified in each subscription. This automation is managed by a scheduled action named Sale Subscription: Generate recurring invoices and payments.
you may put custom logic  inside this function for computing next_invoice_date

_compute_next_invoice_date(self):


Regards,
Milu

Accurates

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 25
1070
1
окт. 24
12646
2
июн. 21
3777
1
мар. 15
8299
3
дек. 24
3218