Metadata-Version: 2.4
Name: mangono-addon-fix_queue_job_set_to_done
Version: 20.0.1.0.0
Project-URL: Homepage, https://www.mangono.fr
Author-Email: Mangono <opensource+odoo@mangono.fr>
License-Expression: AGPL-3.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 20.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python
Description-Content-Type: text/x-rst

.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3

Fix Queue Job Set To Done
==========================
A job whose method or model no longer exists in the code can no longer be marked as done or
cancelled: "Mark as done" used to fail with
``AttributeError: '<model>' object has no attribute '<method>'``, because ``Job.load`` reloads the
job's method before changing its state.

Such orphaned jobs can now be set directly to done or cancelled on their own record (with the usual
date and message), without going through ``Job.load``. Requeuing them remains impossible: an
explicit error message is raised instead.

Company
-------
* `Mangono <https://mangono.fr/>`__

License
-------
General Public License, Version 3 (AGPL v3).
(http://www.gnu.org/licenses/agpl-3.0-standalone.html)

Credits
-------
Developer: Mangono, Contact: contact@mangono.fr

Contacts
--------
* Mail Contact : contact@mangono.fr
* Website : https://mangono.fr

Bug Tracker
-----------
In case of trouble, please contact us via our email address.

Maintainer
==========
This module is maintained by Mangono.

For support and more information, please visit `Our Website <https://mangono.fr/>`__
