Sale Channel

sale_channel
REPOSITORY
REPOSITORYOCA/sale-channel
GIT
GIThttps://github.com/OCA/sale-channel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-channel/tree/18.0/sale_channel
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules/Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSRaphaël Valyi, Sébastien BEAU, Florian da Costa, Weblate, OCA-git-bot, hparfr, clementmbr, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-channel
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is the base for the notion of a sale channel, used for
eCommerce purposes. For example, you might have an "ebay" channel and an
"amazon" channel, and want to register a sale and know which channel it
comes from.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
sale_channel_view_form sale.channel form New
sale_channel_view_search sale.channel search New
sale_channel_view_tree sale.channel list New
view_mode_form account.move xpath Inherits account.view_move_form
view_out_invoice_tree account.move xpath Inherits account.view_out_invoice_tree
view_sale_order_form_channel sale.order xpath Inherits sale.view_order_form
Models touched (4)

New fields (1)
  • sale_channel_id Many2one → sale.channel
    ondelete='restrict' string='Sale Channel' args: 'sale.channel'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • channel_type Selection
    help="Allows to use specific fields and actions for a specific channel's type" args: []
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • channel_ids Many2many → sale.channel
    string='Sale Channel' args: 'sale.channel'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • sale_channel_id Many2one → sale.channel
    ondelete='restrict' args: 'sale.channel'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-channel
GIT
GIThttps://github.com/OCA/sale-channel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-channel/tree/16.0/sale_channel
VERSION
VERSION 0.2.2
CATEGORY
CATEGORYGeneric Modules/Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSSébastien BEAU, Florian da Costa, Weblate, OCA-git-bot, hparfr, clementmbr, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-channel
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
sale_channel_view_form sale.channel form New
sale_channel_view_search sale.channel search New
sale_channel_view_tree sale.channel tree New
view_mode_form account.move xpath Inherits account.view_move_form
view_out_invoice_tree account.move xpath Inherits account.view_out_invoice_tree
view_sale_order_form_channel sale.order xpath Inherits sale.view_order_form
Models touched (4)

New fields (1)
  • sale_channel_id Many2one → sale.channel
    ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Sale Channel' args: 'sale.channel'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • channel_type Selection
    help="Allows to use specific fields and actions for a specific channel's type" args: []
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • channel_ids Many2many → sale.channel
    string='Sale Channel' args: 'sale.channel'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • sale_channel_id Many2one → sale.channel
    ondelete='restrict' states=READONLY_FIELD_STATES args: 'sale.channel'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-channel
PULL REQUEST
PULL REQUEST[17.0][MIG] sale_channel: Migration to 17.0 (#26)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-channel
PULL REQUEST
PULL REQUEST[MIG][19.0] sale_channel (from 18.0) (#57)