Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 09:06:23
Authors
Odoo Community Association (OCA), ForgeFlow, OERP Canada
Maintainers
Odoo Community Association (OCA), ForgeFlow, OERP Canada
Committers
Yash Pathak, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a scheduled action that automatically cancels
quotations after their expiration date.

A company setting can be modified to decide how many days after the
expiration date the quotations are automatically cancelled.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form (in sale_validity_auto_cancel) res.config.settings form Inherits sale.res_config_settings_view_form
view_partner_form res.partner.form res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • sale_validity_auto_cancel_days Integer
    default=0 help='Quotations will be cancelled after the specified number of days since the expiration date.' string='Auto-cancel expired quotations after (days)'
Public methods (0)

No public methods.

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

No public methods.

New fields (1)
  • auto_cancel_expired_so Boolean
    default=True help="If unchecked, you will be able to restrict \nthis contact's expired SO from being auto-canceled." string='Auto Cancel Expired SaleOrder'
Public methods (0)

No public methods.

New fields (1)
  • auto_cancel_expired_so Boolean
    related='partner_id.auto_cancel_expired_so' string='Auto Cancel'
Public methods (1)
  • cron_sale_validity_auto_cancel(self, company_ids=None)
    @api.model
    Auto cancel expired sale orders for companies in company_ids. If company_ids is None, all companies are considered. :param company_ids: list of company ids to consider

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…