TIP: You can type at any time to perform a new search.
Product Assortment
product_assortment · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Uncategorized
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, Pieter Paulussen, oca-ci, bosd, Rafael Lima
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- endpoint_product_catalog, product_pricelist_assortment, sale_order_product_assortment, stock_picking_product_assortment, website_sale_product_assortment
- Description
This addon intends to manage product assortment. In Odoo you can only define some filters defined by a domain but it can be sometimes really complicated. With this addon you will be able to define a domain but also add some products to include or to exclude through a allowed list and a restricted list. This is done by overriding ir.capability but without influencing its standard behaviour.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_assortment_view_form |
product.assortment.form | ir.filters | form | New |
product_assortment_view_list |
ir.filters | list | New | |
product_assortment_view_search |
product.assortment.search | ir.filters | search | New |
product_product_view_list |
product.product | list | New | |
view_partner_form |
res.partner | form | Inherits base.view_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (9)
-
all_partner_idsMany2many → res.partnercolumn1='filter_id'column2='partner_id'comodel_name='res.partner'compute='_compute_all_partner_ids'relation='ir_filter_all_partner_rel'store=True -
apply_black_list_product_domainBooleanstring='Apply restricted product domain' -
black_list_product_domainTextdefault='[]'required=Truestring='Restricted product domain' -
blacklist_product_idsMany2many → product.productcomodel_name='product.product'relation='assortment_product_blacklisted'string='Restricted products' -
is_assortmentBooleandefault=<expr> -
partner_domainTextdefault='[]'required=True -
partner_idsMany2many → res.partnercomodel_name='res.partner'default=<expr>help='This field allow to relate a partner to a domain of products' -
record_countIntegercompute='_compute_record_count' -
whitelist_product_idsMany2many → product.productcomodel_name='product.product'relation='assortment_product_whitelisted'string='Allowed products'
-
create(self, vals_list)@api.model_create_multi -
get_partner_domain_fields(self)@api.model@ormcache() -
show_products(self) -
write(self, vals)
New fields (1)
-
applied_assortment_idsMany2many → ir.filterscolumn1='partner_id'column2='filter_id'comodel_name='ir.filters'relation='ir_filter_all_partner_rel'
-
action_define_product_assortment(self) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 288 days ago
- Last activity
- 11 days ago
- Repository
- OCA/product-attribute
- Pull request
- [19.0][MIG] product_assortment: Migration to 19.0 (#2124)