Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License: AGPL-3

Move in draft state by default

In Odoo there is a flag “Skip draft moves” on accounting journals that controls if newly created account moves stay in draft state or are posted immediately. This flag is honored throughout the system except for invoices and bank statements, for which moves are posted as soon as the documents are validated. Therefore, to correct errors on invoices and bank statement after their validation, one is obliged to install the account_cancel module, which in turn potentially enables the cancellation of all account moves. This is considered dangerous by some.

To work around this issue, this module does the following:

  • It makes sure the flag “Skip draft moves” is always honored, including when validating invoices and bank statements [1]. This enables different workflows, such as 1/ the automatic posting of moves coming from some journals (such as invoices coming from e-commerce), or 2/ moves remaining in draft state, letting accountants validate them and correct the corresponding invoices before posting the moves.

  • It hides the Cancel button on account moves unless account_cancel is installed and cancellation is allowed on the corresponding journal.

[1] provided the parameter is set in Settings > Configuration, if this parameter is not set the moves generated from invoices and bank statement always remain in draft state ignoring the “Skip draft move flag” on account journal. This parameter is not set by default for backward compatibility with previous versions of account_default_draft_move.

Installation

To install this module, you need to:

  • Click on install button

Configuration

To configure this module, you need go to:

  • Settings > Configuration > Accounting, and configure the checkbox “Use journal setting to post journal entries on invoice and bank statement validation” (if not checked, invoice and bank statement move stay in draft state).

  • On the sale/purchase and bank journals, configure the “Skip draft move flag” to suit your needs.

Usage

For further information, please visit:

Try me on Runbot

For further information, please visit:

Known issues / Roadmap

  • the visibility of the Post button on account moves should be made configurable (this module currently hides it unconditionally)

  • in 9.0, the parameter should be removed and always honoring the “Skip draft state” flag should become the default

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 here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.

Metadata

Release files for odoo8-addon-account-default-draft-move 8.0.1.0.0.99.dev22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo8-addon-account-default-draft-move 8.0.1.0.0.99.dev22
File Interpreter ABI Platform
odoo8_addon_account_default_draft_move-8.0.1.0.0.99.dev22-py2-none-any.whl Python 2 none any Details

Release files / odoo8_addon_account_default_draft_move-8.0.1.0.0.99.dev22-py2-none-any.whl

Download URL odoo8_addon_account_default_draft_move-8.0.1.0.0.99.dev22-py2-none-any.whl
Size 88.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
094755e0f71bbce6f94410816ffeaeb7621f71190ff3249742f10a5bac1ce017
BLAKE2b-256 checksum
How to use checksums
3547cd120f5dcd10a9f65e982404e037270eb9015cef4a3e6ff2d456bcb338b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page