Metadata-Version: 2.5
Name: unpaismejor_account_move_draft
Version: 8.0.1
Summary: Safely reset posted accounting moves to draft in Tryton
Project-URL: homepage, https://www.unpaismejor.org.do
Project-URL: repository, https://code.unpaismejor.org.do/tryton-do/account_move_draft
Author: TrytonSpain, Fundación Un País Mejor
Maintainer: Fundación Un País Mejor
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: accounting,draft,move,tryton
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.10
Requires-Dist: trytond-account<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Requires-Dist: proteus<8.1,>=8.0; extra == 'test'
Requires-Dist: trytond-account-invoice<8.1,>=8.0; extra == 'test'
Description-Content-Type: text/x-rst

Account Move Draft
==================

Tryton 8.0 extension maintained by Fundación Un País Mejor.

The module allows specifically authorized users to reset a posted accounting
move to draft.  It does not delete or renumber the move.  For accounting and
audit safety, reconciled moves and moves in closed periods or closed
journal-periods cannot be reset.

When ``account_invoice`` is installed, a move belonging to a non-draft
invoice cannot be reset directly.  Invoice workflows must use a compatible
module such as ``account_invoice_posted2draft``.

This operation weakens the normal immutability of posted accounting entries
and should only be granted to accounting administrators.

Other modules must call ``account.move.reset_to_draft`` instead of writing the
move state themselves.  This method is the single guarded engine for the
operation.
