Repository
OCA/account-financial-tools · module folder · Try on Runboat
Module version
0.1
Category
Generic Modules/Accounting
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://acsone.eu
Last tracking update
2026-08-07 06:56:11
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Stefan Rijnhart, Pedro M. Baeza, OCA Transbot, Laurent Mignon
Odoo dependencies
Python dependencies
requests
System dependencies
None
Required by
None
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 form Inherits account.view_account_journal_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)