Skip to content

Packages & Modules

1. Subscription Packages

Packages are reusable collections of Odoo modules that define what functionality a subscription includes.

Fields

  1. Name - Package name (required, unique, translatable)
  2. Modules - Many2many relation to subscription modules included in this package
  3. Company - Company context

Package Usage

When a subscription is created (manually or from a sale order), the selected packages determine which Odoo modules are installed on the instance. A subscription can have multiple packages.


2. Subscription Modules

Individual Odoo modules that can be grouped into packages.

Fields

  1. Technical Name - Odoo module identifier like account, sale, hr (required, unique)
  2. Description - What the module does (optional)

3. How Packages Work

Product (saas_package) → Subscription (subscription_package) → Module Installation
  1. Products are configured with one or more SAAS packages
  2. When a customer purchases the product, the subscription inherits the packages
  3. During the build process, all modules from all selected packages are installed on the instance
  4. Packages can be shared across multiple products and subscriptions

Package Deletion

Packages linked to active subscriptions cannot be deleted (restricted by on_delete=restrict).