Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:48
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a company-level option to automatically cancel purchase orders generated from sales orders (through Dropship or MTO rules) when the corresponding sales order is canceled.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits sale.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • purchase_auto_cancel Boolean
    help='When a purchase order is created from a sales order using the MTO or Dropship rule for this company, and the sale order is cancelled, it will be automatically cancelled.' string='Propagate cancellation on MTO/Dropshipping'
Public methods (0)

No public methods.

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

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
38 days ago
Last activity
34 days ago
Repository
OCA/sale-workflow
Pull request
[19.0] [MIG] sale_purchase_stock_auto_cancel (#4465)