odoo_xmlrpc_twisted.functions.create_subscription¶
Creates a Subscription for a customer.
Functions
|
Function creates a subscription based on the selected abo model. |
- odoo_xmlrpc_twisted.functions.create_subscription.create_subscription(partner_id, abomodel)[source]¶
Function creates a subscription based on the selected abo model.
First a pro-forma invioce will be created.
Then a subscription will be created based on the pro-forma-invoice.
This subscription will be executed on a regular monthy basis to create the invoices for the abo (not in this module).