Sale Validity Auto-Cancel
sale_validity_auto_cancel · OCA/sale-workflow
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
4 models
2 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_daysIntegerdefault=0help='Quotations will be cancelled after the specified number of days since the expiration date.'string='Auto-cancel expired quotations after (days)'
No public methods.
New fields (1)
-
sale_validity_auto_cancel_daysIntegerreadonly=Falserelated='company_id.sale_validity_auto_cancel_days'
No public methods.
New fields (1)
-
auto_cancel_expired_soBooleandefault=Truehelp="If unchecked, you will be able to restrict \nthis contact's expired SO from being auto-canceled."string='Auto Cancel Expired SaleOrder'
No public methods.
New fields (1)
-
auto_cancel_expired_soBooleanrelated='partner_id.auto_cancel_expired_so'string='Auto Cancel'
-
cron_sale_validity_auto_cancel(self, company_ids=None)@api.modelAuto 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…