OdooWiki OCA HUB

Product Profile

product_profile folder_open OCA/product-attribute open_in_new
product License: AGPL-3

This module provides easier products configuration (in one click). It allows to configure a product template with only one field.

>

Main use case: a lot of modules are installed (mrp, purchase, sale, pos) and products configuration becomes harder for end users: too many fields to take care of.

You are concerned that at any time a product might be not configured correctly: this module is your friend.

Thanks to this module, a lot of complexity becomes hidden (default behavior) to the end user and usability is optimal.

It eases as well the data migration by only specifying the profile field instead of all fields which depend on it.

Note: This module is meant to be used by skilled people in database fields creation within the ERP framework.

Additional feature: a default value can be attached to a profile (see § Configuration, part 3)

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you configure a product with a single 'Profile' choice instead of filling in many fields by hand. Profiles define the values that get copied onto products, and updating a profile can refresh the products that use it.

This module adds a 'Profile' field on the product form (product.template and product.product). When you pick a profile, the related product fields are filled in automatically from that profile, so users do not have to set each option manually.

  • Profiles are managed in their own screen under Sales > Configuration > Products > Product Profiles, where you can create, order and describe them.
  • Each profile has a name, an order, an explanation shown on the product form, and a type (Consumable or Service).
  • On the product form, the profile explanation is displayed next to the profile field so users understand what the profile does.
  • In the product search view, a 'Profile' filter and grouping option is added so you can find or group products by profile.
  • If you change a profile, all products using it are updated automatically; a warning on the profile form tells you this may take a while.
  • A setting 'Display Product Profile fields' controls whether the profile-related fields are visible; a 'Manage Product Profiles' group controls who can edit profiles.
  • Profiles can also carry default values for fields, which are applied when a product is created.

The module touches product.template, product.product, product.profile and the sales configuration settings.

Depends on

sale_management

Menus it adds

menu_product_profile_action
Models and fields (5)
  • product.product · new model
  • product.profile · new modelname, type, sequence, explanation
  • product.template · new modelprofile_id (Profile), profile_explanation
  • res.config.settings · extends an existing modelgroup_product_profile (Display Product Profile fields)
  • product.mixin.profile · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Create your own profile here: Sales \> Configuration \> Product \> Product Profiles
  • Extend "product.profile" model to add fields from product.template, either in normal mode or default mode (see note section below). These fields should be identical to their original fields (especially "required" field attribute).
class ProductProfile(models.Model):
  """ Require dependency on sale, purchase and point_of_sale modules
  """

  _inherit = "product.profile"

  def _get_types(self):
      return [("product", "Stockable Product"),
              ("consu", 'Consumable'),
              ("service", "Service")]

  sale_ok = fields.Boolean(
      string="Can be Sold",
      help="Specify if the product can be selected in a sales order line.")
  purchase_ok = fields.Boolean(
      string="Can be Purchased")
  available_in_pos = fields.Boolean()
  • Insert data (xml or csv) and define values for each field defined above for each configuration scenario

Note : You might want to declare profile fields as defaults. To do this, just prefix the field with "profile_default".

> ``python > class ProductProfile(models.Model): > profile_default_categ_id = fields.Many2one( > "product.category", > string="Default category", > ) > profile_default_tag_ids = fields.Many2many( > comodel_name="product.template.tag", > string="Tags", > ) >``

Default fields only influence the records the first time they are set. - if the profile is modified, changes are not propagated to all the records that have this profile - if the record previously had another profile, changing profile will not influence default values

Assign a value to the profile field in the product template form. Then, all fields which depend on this profile will be set to the right value at once.

If you deselect the profile value, all these fields keep the same value and you can change them manually (back to standard behavior).

Profiles are also defined as search filter and group.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.