| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/e-commerce |
| GIT | |
| GIT | https://github.com/OCA/e-commerce.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/e-commerce/tree/17.0/website_sale_product_multi_website |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Website |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Adhoc S.A. |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Adhoc S.A. |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Pilar Vargas |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/e-commerce |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:03 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - digest - base - base_setup - web - bus - web_tour - portal - web_editor - http_routing - auth_signup - resource - social_media - google_recaptcha - utm - sale - sales_team - account_payment - account - onboarding - product - uom - analytic - payment - website_payment - website_mail - portal_rating - rating - delivery |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
geoip2 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module extends that behavior by allowing products to be linked to multiple websites through a new `website_ids` field. It also adapts the website publication and access logic so products are only available on the selected websites. This is useful in multi-website environments where the same catalog item must be shared across some websites, but not all of them. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_website_tree_view |
product.product.website.inherit.view.tree | product.product | field | Inherits website_sale.product_product_website_tree_view |
product_template_form_view |
product.template.inherit.view.form | product.template | field | Inherits website_sale.product_template_form_view |
product_template_view_tree |
product_template_view_tree.view.tree | product.template | field | Inherits website_sale.product_template_view_tree |
website_id
Many2one → website
compute='_compute_website_id'
inverse='_inverse_website_id'
store=True
string='Website'
args: 'website'
website_ids
Many2many → website
help='Restrict the product to the selected websites. Leave empty to make it available on all websites.'
string='Websites'
args: 'website', 'product_template_website_rel', 'product_template_id', 'website_id'
can_access_from_current_website(self, website_id=False)
No new fields.
Public methods (2)sale_product_domain(self)
website_domain(self, website_id=False)
No new fields.
Public methods (0)No public methods.