OdooWiki OCA HUB

Product Pack Category Restriction

product_pack_category_restriction folder_open OCA/product-pack open_in_new
Product License: AGPL-3

This module allows you to restrict pack products to specific Product Categories.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Lets you mark product categories as allowed for pack products, and automatically blocks pack products from being placed in categories that are not marked as pack categories.

This module adds a new checkbox called "Is Pack Category?" on product categories. It works together with the product pack functionality, so you can decide which categories are allowed to hold pack products.

Where it appears: - On the product category form, right after the parent category field, you see the new "Is Pack Category?" checkbox. It is ticked by default. - On product and product variant forms, the pack flag and category field react to each other.

Automatic behaviour and rules: - When you change the category of a product, its pack flag is automatically set to match the category's "Is Pack Category?" value. - When a product is marked as a pack, the category field only offers categories that are marked as pack categories. - If you try to save a pack product in a category that is not a pack category, Odoo raises an error: "Pack Products must be part of a Pack Category." - If you try to remove the pack category flag from a category that already contains pack products, Odoo raises an error: "Non-pack Category can't contain pack products."

Areas touched: product categories, product templates and product variants. No new menus or reports are added.

Depends on

Models and fields (3)
  • product.product · extends an existing model
  • product.category · extends an existing modelpack_ok (Is Pack Category?)
  • product.template · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 13.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/product-pack.

terminal Installation and usage

OCA documentation · Odoo 13.0

A new checkbox 'Is Pack Category?' is available in the configuration of each Product Category.

Pack Products will only be able to be assigned to Product Categories where the checkbox is marked.

No verified information in OCA: Installation, Configuration.

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.