Repository
OCA/sale-channel · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules/Sale
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-channel
Last tracking update
2026-08-07 08:43:02
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Raphaël Valyi, Sébastien BEAU, clementmbr, Weblate, OCA-git-bot, oca-ci, Clément Mombereau
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds partner bindings to sale channels. For example, if you
have the same customer buying from the "amazon" channel and the "ebay"
channel, you can find this out through bindings.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
sale_channel_partner_view_tree sale.channel.partner list New
sale_channel_view_form sale.channel form Inherits sale_channel.sale_channel_view_form
view_partner_form res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • sale_channel_partner_ids One2many → sale.channel.partner
    string='Sale Channel Bindings' args: 'sale.channel.partner', 'partner_id'
Public methods (0)

No public methods.

New fields (2)
  • count_sale_channel_partners Integer
    compute=_compute_count_sale_channel_partners string='Sale Channel Partner count'
  • sale_channel_partner_ids One2many → sale.channel.partner
    string='Sale Channel Partners' args: 'sale.channel.partner', 'sale_channel_id'
Public methods (1)
  • button_open_bindings(self)

New fields (3)
  • external_id Char
    help='The user ID from the external sale channel' required=True args: 'External ID'
  • partner_id Many2one → res.partner
    ondelete='cascade' required=True args: 'res.partner', 'Contact'
  • sale_channel_id Many2one → sale.channel
    ondelete='cascade' required=True args: 'sale.channel', 'Sale Channel'
Public methods (0)

No public methods.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
80 days ago
Last activity
6 days ago
Repository
OCA/sale-channel
Pull request
[MIG][19.0] sale_channel_partner (from 18.0) (#58)