Sale purchase stock auto cancel

sale_purchase_stock_auto_cancel
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_purchase_stock_auto_cancel
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, 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_purchase_stock
    - sale_stock
    - 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
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - purchase_stock
    - purchase
    - sale_purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits sale.res_config_settings_view_form
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.