SaaS: Product
by IT-Projects LLC https://apps.odoo.com/apps/modules/12.0/saas_product/ , Eugene Molotov https://apps.odoo.com/apps/modules/12.0/saas_product/Required Apps |
Invoicing (account)
|
Lines of code | 126 |
Technical Name |
saas_product |
Website | https://apps.odoo.com/apps/modules/12.0/saas_product/ |
SaaS: Product
This technical module helps to create saas-related products.
As example this module has product "Users" with variants "Anually" and "Monthly" with different prices. Other saas-related products can define product.template record and make variants by assigning "Subscribtion: Annually" and "Subscribtion: Monthly" attribute values.
In python it looks like this:
template = env["product.template"].create({"name": "Test SaaS Product"}) template_attribute_line = env["product.template.attribute.line"].create({ "product_tmpl_id": template.id, "attribute_id": env.ref("saas_product.product_attribute_subscription").id, "value_ids": [(6, 0, [ env.ref("saas_product.product_attribute_value_subscription_anually").id, env.ref("saas_product.product_attribute_value_subscription_monthly").id, ])] }) annually_value_id = template_attribute_line.product_template_value_ids[0] monthly_value_id = template_attribute_line.product_template_value_ids[1] product_annually = template._get_variant_for_combination(annually_value_id) product_monthly = template._get_variant_for_combination(monthly_value_id)
Credits
Contributors
- Eugene Molotov:
Sponsors
- IT-Projects LLC
Maintainers
IT-Projects LLC
To get a guaranteed support you are kindly requested to purchase the module at odoo apps store.
Thank you for understanding!
IT-Projects Team
Further information
Demo: http://runbot.it-projects.info/demo/saas-addons/13.0
HTML Description: https://apps.odoo.com/apps/modules/13.0/saas_product/
Usage instructions: doc/index.rst
Changelog: doc/changelog.rst
Notifications on updates: via Atom, by Email
Tested on Odoo 13.0 9e68ec931d254ba563b4a16afa38b6003336a7cf
SaaS: Product
Installation
- Install this module in a usual way
Usage
- Open menu [[ Invoicing ]]>> Customers >> Products >> Users
- Click [2 Variants]
- RESULT: You will see 2 products with different subscribtion and prices
Please log in to comment on this module