Skip to main content

Create reversed journal entries when cancel document

Project description

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

By Odoo standard, when an account document is cancelled, its journal entry will be deleted completely. This module enhance the process, instead of deletion, it will create new reversed journal entry. This will help preserved the accounting history, which is strictly required by some country.

Following are documented provide this feature,

  • Invoice (account.invoice)

  • Payment (acccont.payment)

  • Bank Statement (account.bank.statement.line)

Remarks on changes when compare to version 12

Odoo 13 has removed account.invoice, as such Invoice is no longer a front-end document which generate account.move as a back-end document when validated.

Invoice is now account.move itself and force following changes,

  • Canceled invoice (account.move) will create reversed account.move of type ‘entry’ to itself

  • Canceled invoice (account.move) status is ‘posted’, with the new flag ‘cancel_reversal = True’

  • As result, cancel a posted invoice with reversal (state=posted) is now different from cancel from draft (state=canceled)

  • When invoice or payment is reversed canceled, it will not allowed set to draft, in practice it will be frozen.

  • The reversed canceled document (both invoice, payment, statement line) will still keep the relation with its journal entries

Table of contents

Configuration

To use document reversal, setup the document’s journal as following,

  • Allow Cancelling = True

  • Cancel method = Reversal (create reversed journal entries)

Usage

After configure document journal to allow cancel with reversal, it is ready to use.

  • Cancel document as normally do, system will show new cancel wizard

  • User can select cancel date and new journal (if different from the document) which will be used for the reversed journal entry

Bug Tracker

Bugs are tracked on GitHub 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.

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

Credits

Authors

  • Ecosoft

  • ForgeFlow

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

kittiu

This module is part of the OCA/account-financial-tools project on GitHub.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo13_addon_account_document_reversal-13.0.1.0.5.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_account_document_reversal-13.0.1.0.5.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 55a0c02b0f774beb1dacef325c7dd815af95c6d0fbc25f37bb3fc8b0e6dadff5
MD5 4b81bea81740ae8e0f37298f2f3c45a3
BLAKE2b-256 7d55adffa0be0de9e2e9dc84ebc93fee412291ed87f97bc361d5cca33b2d7206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page