Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…