Ir al contenido
Menú
Se marcó esta pregunta
1580 Vistas

I’m facing an issue after migrating to Odoo version 17, specifically related to the Subscription module.

Context:

I have customized the Subscription module to suit the needs of our company, where we do not handle invoicing and payments in Odoo. To achieve this, I:

  • Disabled scheduled actions for subscription expiration and recurring invoice generation (specifically, Sale Subscription: subscriptions expiration and Sale Subscription: generate recurring invoices and payments).
  • Created custom scheduled actions to avoid automatic invoicing.

Problem:

After migrating to Odoo 17, I am now unable to close a subscription using the “Close” button, and I get the following error message:

Validation Error You can not churn a contract that has not been invoiced. Please cancel the contract instead.

It appears that the system now requires invoices to be generated before a subscription can be closed, which wasn't the case before. Despite my customizations to avoid automatic invoicing, this new behavior seems to be causing issues when trying to close subscriptions that haven't been invoiced.

What I've Tried:

  1. I’ve reviewed the scheduled actions, and they are still disabled as before.
  2. I’ve attempted to close subscriptions without invoices, but the system prevents me from doing so due to the "Validation Error."

What I Need:

I would like guidance on:

  • How to bypass the invoice check when closing subscriptions.
  • Whether there is a way to disable the mandatory invoicing for subscriptions in Odoo 17 entirely
  • Any tips on customizing the workflow to ensure that the subscription can be closed manually without creating invoices, given our business model.

Any help or insights would be greatly appreciated!

Thanks in advance,


Benoît

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
oct 24
1984
1
ene 22
2963
1
ene 25
896
1
jun 25
564
1
abr 25
136