Sale Cancel Reason

sale_cancel_reason
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_cancel_reason
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSRuchir Shukla, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - 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
When a sale order is canceled, a reason must be given, it is chosen from
a configured list.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
mass_cancel_orders_view_form sale.mass.cancel.orders.form sale.mass.cancel.orders footer Inherits sale.mass_cancel_orders_view_form
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel xpath Inherits sale.sale_order_cancel_view_form
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason list New
Models touched (4)

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_mass_cancel(self)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    copy=False ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (1)
  • action_draft(self)

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_cancel_reason
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, maciej-wichowski
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - 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
When a sale order is canceled, a reason must be given, it is chosen from
a configured list.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
mass_cancel_orders_view_form sale.mass.cancel.orders.form sale.mass.cancel.orders footer Inherits sale.mass_cancel_orders_view_form
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel xpath Inherits sale.sale_order_cancel_view_form
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (4)

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_mass_cancel(self)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    copy=False ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (1)
  • action_draft(self)

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_cancel_reason
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Hugo
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - 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 (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel xpath Inherits sale.sale_order_cancel_view_form
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    copy=False ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (1)
  • action_draft(self)

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_cancel_reason
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
res_config_settings_view_form_inherit_sale_management res.config.settings.view.form.inherit.sale.management res.config.settings div Inherits sale.res_config_settings_view_form
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel xpath Inherits sale.sale_order_cancel_view_form
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (5)

New fields (1)
  • enable_sale_cancel_reason Boolean
    default=False
Public methods (0)

No public methods.

New fields (1)
  • enable_sale_cancel_reason Boolean
    readonly=False related='company_id.enable_sale_cancel_reason'
Public methods (0)

No public methods.

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    copy=False ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_cancel_reason
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aritz Olea, Alessandro Uffreduzzi
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel xpath Inherits sale.sale_order_cancel_view_form
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    copy=False ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • action_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_cancel_reason
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, Jesús Alan Ramos Rodríguez, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    ondelete='restrict' readonly=True string='Reason for cancellation' tracking=True args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • confirm_cancel(self)

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_cancel_reason
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSRenato Lima, Bhavesh Odedra, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Victor Martin, Stephan Keller
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    ondelete='restrict' readonly=True string='Reason for cancellation' args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • confirm_cancel(self)
    @api.multi

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_cancel_reason
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Denis Roussel, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Rafael Blasco, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    ondelete='restrict' readonly=True string='Reason for cancellation' args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • confirm_cancel(self)
    @api.multi

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_cancel_reason
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    ondelete='restrict' readonly=True string='Reason for cancellation' args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • confirm_cancel(self)
    @api.one

New fields (2)
  • active Boolean
    default=True help='By unchecking the active field, you may hide the record you will not use.' args: 'Active'
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_cancel_reason
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Romain Deheele, Alexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Matjaž Mozetič, Miku Laitinen, Dhaval Patel
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Sale Cancel Reason
==================

When a sale order is canceled, a reason must be given,
it is chosen from a configured list.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (1)
  • cancel_reason_id Many2one → sale.order.cancel.reason
    ondelete='restrict' readonly=True string='Reason for cancellation' args: 'sale.order.cancel.reason'
Public methods (0)

No public methods.

New fields (1)
  • reason_id Many2one → sale.order.cancel.reason
    required=True string='Reason' args: 'sale.order.cancel.reason'
Public methods (1)
  • confirm_cancel(self)
    @api.one

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/7.0/sale_cancel_reason
VERSION
VERSION 1.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Guewen Baconnier, Lorenzo Battistini, Alexandre Fayolle, unknown
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Sale Cancel Reason
==================

When a sale order is canceled, a reason must be given,
it is chosen from a configured list.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order xpath Inherits sale.view_order_form
view_sale_order_cancel Reason for the cancellation sale.order.cancel form New
view_sale_order_cancel_reason_form Sale Order Cancel Reason sale.order.cancel.reason form New
view_sale_order_cancel_reason_tree Sale Order Cancel Reason sale.order.cancel.reason tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • confirm_cancel(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.