Metadata-Version: 2.1
Name: odoo-addon-sale_validity_auto_cancel
Version: 16.0.1.0.0.6
Requires-Python: >=3.10
Requires-Dist: odoo>=16.0a,<16.1dev
Summary: Automatically cancel quotations after validity period.
Home-page: https://github.com/OCA/sale-workflow
License: LGPL-3
Author: ForgeFlow, OERP Canada, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

=========================
Sale Validity Auto-Cancel
=========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:8d659ff4fed585655f3d89a95751f1e358ace97c9013eb3eee9e86f66a08a631
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
    :target: https://github.com/OCA/sale-workflow/tree/16.0/sale_validity_auto_cancel
    :alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_validity_auto_cancel
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds a scheduled action that automatically cancels
quotations after their expiration date.

Added starting from v16: A checkbox has been added in the contact form
under the Sales&Purchase tab. This checkbox is selected by default and
controls whether quotations related to that contact will be
automatically canceled. If unchecked, the scheduled action will not
cancel quotations for that specific contact, allowing more control over
the auto-cancellation process on a per-contact basis.

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

**Table of contents**

.. contents::
   :local:

Configuration
=============

1. Go to the menu *Sales > Configuration > Settings*.

2. In the *Quotations & Sales* section, set the *Auto-cancel expired
   quotations after X days* parameter to define how many days after the
   expiration date the quotations will be canceled automatically.

3. Additionally, open the contact form for any customer and under the
   *Sales&Purchase* tab, you will see the checkbox *Auto-cancel
   Quotations*. This checkbox is checked by default, meaning the system
   will automatically cancel expired quotations for this contact. You
   can uncheck it if you do not want the scheduled action to cancel
   quotations for that specific contact.

Usage
=====

-  By default, the scheduled action "Cancel Expired Quotations" is not
   enabled to allow initial configuration of the auto-cancel period in
   days.

-  Once enabled, the scheduled action will run automatically once a day,
   canceling expired quotations based on the defined expiration period.

-  For each contact, the Auto-cancel Quotations checkbox under the
   Sales&Purchase tab controls whether that contact’s quotations will be
   auto-canceled. If checked, the quotations will be canceled after
   expiration. If unchecked, the scheduled action will skip those
   quotations.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_validity_auto_cancel%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* ForgeFlow
* OERP Canada

Contributors
------------

-  Jordi Masvidal <jordi.masvidal@forgeflow.com>
-  `OERP Canada <https://www.oerp.ca/>`__:

   -  Foram Darji <fd@oerp.ca>

-  Roger Sans <roger.sans@sygel.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-JordiMForgeFlow| image:: https://github.com/JordiMForgeFlow.png?size=40px
    :target: https://github.com/JordiMForgeFlow
    :alt: JordiMForgeFlow

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-JordiMForgeFlow| 

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_validity_auto_cancel>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
