Account Journal Async Entry Posted

account_journal_entry_posted_async
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/7.0/account_journal_entry_posted_async
VERSION
VERSION 0.1
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStefan Rijnhart, Pedro M. Baeza, OCA Transbot, Laurent Mignon
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - connector
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - account
    - product
    - process
    - decimal_precision
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module add a new checkbox on the journal to post asynchronously entries
created for the journal without any manual validation.

In this module we take advantage of the queue and channel system from Odoo
Connector to sequentially post entries in background and therefore avoid
concurrent updates on ir_sequence when the system is intensely used.

Installation
============

Connector jobs are created in a channel named
*root.account_move_validate*. The channel must be configured with a
capacity of 1::

     ODOO_CONNECTOR_CHANNELS=root:X,root.account_move_validate:1

See the `connector documentation
<http://odoo-connector.com/guides/jobrunner.html>`_ to see how to configure
the capacity of channels .

    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_journal_form account.journal.form (account_journal_entry_posted_async) account.journal field Inherits account.view_account_journal_form
Models touched (2)

New fields (0)

No new fields.

Public methods (4)
  • create(self, cr, user, vals, context=None)
  • on_change_entry_posted(self, cr, uid, ids, boolval)
  • on_change_entry_posted_async(self, cr, uid, ids, boolval)
  • write(self, cr, user, ids, vals, context=None)

New fields (0)

No new fields.

Public methods (2)
  • button_validate(self, cr, uid, ids, context=None)
  • do_button_validate(self, cr, uid, ids, context=None)