v 12.0 Third Party 11
Download for v 12.0 Deploy on Odoo.sh
Required Apps Invoicing (account)
Lines of code 126
Technical Name saas_product
Websitehttps://apps.odoo.com/apps/modules/12.0/saas_product/
You bought this module and need support? Click here!

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.