Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2171 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź


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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
1072
1
paź 24
12663
2
cze 21
3780
1
mar 15
8302
3
gru 24
3222