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 Runbot

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 smashing 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

File details

Details for the file odoo13_addon_account_document_reversal-13.0.1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_account_document_reversal-13.0.1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a9c65c40d2f71f013884631dca47e44dad01ad2eea8a1512cda86ac5f8379e6
MD5 a542251a238ef87aa93ca75acf9d632e
BLAKE2b-256 036f9e5077a94836ed55a64523b28935ad49f05edc10e9f1d1cb05ab1dcd44bb

See more details on using hashes here.

Supported by

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