This module allows creating subscriptions that generate recurring invoices or orders. It also enables the sale of products that generate subscriptions.
Table of contents
To make a subscription:
- Go to Subscriptions > Configuration > Subscription templates.
- Create the templates you consider, choosing the billing frequency: daily, monthly... and the method of creating the invoice and/or order.
- Go to Subscription > Subscriptions.
- Create a subscription and indicate the start date. When the Subscriptions Management cron job is executed, the subscription will begin and the first invoice will be created if the execution date matches the start date. The invoice will also be created when the execution date matches the next invoice date. Additionally, you can manually change the subscription status and create an invoice by using the Create Invoice button. This action creates just an invoice even if the subscription template has the Sale Order & Invoice option selected, because the Invoicing mode option is triggered through the cron job.
- The cron job will also end the subscription if its end date has been reached.
To create subscriptions with the sale of a product:
- Go to Subscriptions > Subscriptions > Products.
- Create the product and in the sales tab, complete the fields Subscribable product and Subscription template
- Create a sales order with the product and confirm it.
- Refactor all the onchanges that have business logic to computed write-able fields when possible. Keep onchanges only for UI purposes.
- Add tests.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Domatix
- Carlos Martínez <[email protected]>
- Carolina Ferrer <[email protected]>
- Ooops404:
- Ilyas <[email protected]>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/contract project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.