| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Invoicing (account) • Website (website) |
| Lines of code | 100 |
| Technical Name |
product_attribute_exclusion_scope |
| License | LGPL-3 |
| Website | https://asherixinnovations.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Invoicing (account) • Website (website) |
| Lines of code | 100 |
| Technical Name |
product_attribute_exclusion_scope |
| License | LGPL-3 |
| Website | https://asherixinnovations.com |
Product Attribute Exclusion Scope
Control which product variants are available per sales channel: Website, Sales, or both.
Overview
This addon extends Odoo's variant exclusion system by allowing you to define which sales channel each exclusion applies to: Website, Sales, or both. This makes it possible to hide certain variants from the online store while keeping them available for internal orders, or the other way around, all within a single product.
Features
- Exclude variants only on the Website: the variant is hidden from the online store but remains available for the sales team.
- Exclude variants only in Sales: the variant cannot be selected on internal orders but remains visible to customers on the website.
- Exclude variants on both channels simultaneously, equivalent to Odoo's standard behavior with added explicit control.
- Multiple exclusion rules coexist without conflicts between them.
- Transparent integration with the existing variant configurator without modifying the main interface.
How It Works
The module adds a "Scope" field to each attribute exclusion rule in the product form. When configuring an exclusion between two attribute values (e.g. Material = Aluminium), you specify whether it applies to the Website, to Sales, or to Both. The system evaluates the active channel at each moment and filters available variants independently by context, without affecting the other channel.
Benefits
- Clean web catalogue: hide complex or internally-managed variants that should not be offered to the general public.
- Commercial flexibility: the sales team retains access to all available combinations to handle special orders.
- No product duplication: a single product manages all channels with differentiated rules, with no need to create separate variants.
- Granular configuration: each exclusion has its own scope, enabling precise per-channel combinations without interference.
Configuration
Use case: a customisable product with attributes Material (Aluminium, Steel, Custom) and Color (White, Black). Three channel-specific exclusions are applied and verified to work correctly without affecting the opposite channel.
View of the product with its attributes and all possible variants active, before applying any channel exclusion.
Three exclusion rules are configured with different scopes. Each one acts independently on its assigned channel without interfering with the other.
Website Aluminium exclusion, Aluminium is not available in the online store; it remains active only for internal sales orders.
Website White exclusion, White does not appear in the online configurator; it can be selected normally from the Sales module.
Sales Black exclusion, Black cannot be selected when creating internal orders; it remains available to customers on the Website.
With all three rules active at the same time, each channel shows only the correct variants with no conflicts between exclusions of different scopes.
Aluminium and White excluded on Website, both available in Sales with no issues
Website Aluminium and White not available
Sales Aluminium and White available with no issues
Black excluded in Sales, available on the Website with no issues
Website Black available with no issues
Sales Black not available
© 2026 All rights reserved
Please log in to comment on this module