Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 1 migration note 3 models 3 views 0 HTTP endpoints

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
product_product_website_tree_view product.product.website.inherit.view.tree product.product tree Inherits website_sale.product_product_website_tree_view
product_template_form_view product.template.inherit.view.form product.template form Inherits website_sale.product_template_form_view
product_template_view_tree product_template_view_tree.view.tree product.template tree Inherits website_sale.product_template_view_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (2)
  • website_id Many2one → website
    compute='_compute_website_id' inverse='_inverse_website_id' store=True 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'
Public methods (1)
  • can_access_from_current_website(self, website_id=False)

New fields (0)

No new fields.

Public methods (2)
  • sale_product_domain(self)
  • website_domain(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…