TIP: You can type at any time to perform a new search.
eCommerce product assortment
website_sale_product_assortment · OCA/e-commerce
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.1.1
- Category
- Website
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/e-commerce
- Last tracking update
- 2026-08-07 08:42:55
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- CarlosRoca13, Pilar Vargas, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
This module allows to set e-commerce restrictions on product assortments.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product |
product | ir.ui.view | qweb | Inherits website_sale.product |
product_assortment_view_form |
ir.filters | form | Inherits product_assortment.product_assortment_view_form |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteSale.product |
inherited | http | ALL | |
/sale/get_info_assortment_preview |
WebsiteSaleVariantController.get_info_assortment_preview |
public | json | POST | sudo website |
Models touched (2)
New fields (6)
-
all_product_idsMany2many → product.productcomodel_name='product.product'compute='_compute_all_product_ids'relation='assortment_all_products' -
apply_on_public_userBoolean -
assortment_informationHtml -
message_unavailableCharhelp="Message showed when some product is not available and the option\n 'Avoid selling not available products' is selected.\n "string='Message when unavailable' -
website_availabilitySelectiondefault='no_restriction'help="\n Each point is used to:\n\n \t- Don't apply restriction: Show all products available for sale on website.\n\n \t- Avoid to show non available products: Show only products available for sale\n on website.\n\n \t- Avoid selling not available products: Show all products, but avoid\n purchase on website.\n\n "required=Trueselection=[('no_restriction', "Don't apply restriction"), ('no_show', 'Avoid to show non available products'), ('no_purchase', 'Avoid selling not available products')]string='Availability on Website' -
website_idsMany2many → websitecomodel_name='website'ondelete='cascade'string='Websites'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_product_assortment_restriction_info(self, product_ids)@api.model
Loading…
Loading…
Loading…
Loading…