Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1860 Vistas

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

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta


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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
935
1
oct 24
12349
2
jun 21
3635
1
mar 15
8128
3
dic 24
3041