Repository
OCA/e-commerce · module folder · Try on Runboat
Module version
1.0.1
Category
Generic Modules
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:03:08
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Yannick Vaucher, Stéphane Bidoul, Guewen Baconnier, Stéphane Bidoul (ACSONE), OCA Transbot, Qing Wang
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
magentoerpconnect_catalog, product_links_goodies
Description
This module adds links between products:

- cross-selling
- up-selling
- related

These types of links are common in e-commerce shops.

It can be used as a base to implement synchronisations with
e-commerce (for instance, it is used in magentoerpconnect).
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_link_form product.link.form product.link form New
product_link_tree product.link.tree product.link tree New
product_product_link_form product.normal.form.custom.link product.product form Inherits product.product_normal_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (4)
  • is_active Boolean
    default=True args: 'Active'
  • linked_product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' required=True string='Linked product'
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' required=True string='Source Product'
  • type Selection
    required=True selection='get_link_type_selection' string='Link type'
Public methods (1)
  • get_link_type_selection(self)
    @api.model

New fields (1)
  • product_link_ids One2many → product.link
    comodel_name='product.link' inverse_name='product_id' string='Product links'
Public methods (0)

No public methods.

Loading…

Loading…