Toggle navigation

Enqueue account invoice validation

Production/Stable License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

This module allows to enqueue in several jobs the account validation process to be executed in paralell on background, which is normally done serially and on foreground.

Each invoice creates a job for performing the validation, but you will only be able to enqueue invoices for the same date.

Table of contents

Installation

This module depends on queue_job module that is hosted on https://github.com/OCA/queue.

If you are migrating from version 13.0.1.0.0 to 13.0.2.0.0, you need openupgradelib library.

Configuration

  1. Jobs are enqueued in the channel root.account_invoice_validation_queued, so you must adjust your Odoo configuration according this.
  2. If you want to see queued jobs, you need «Job Queue / Job Queue Manager» permission in your user.
  3. Configure your invoice/refund sequences as «Standard» instead of «No gap», or you’ll have concurrent updates problems.

Usage

  1. Go to Invoicing > Sales > Documents > Customer Invoices or Invoicing > Purchases > Documents > Vendor Bills.
  2. Mark at least one check on the left part of one draft invoice line in the list view.
  3. Click on Action > Confirm Draft Invoice.
  4. On the dialog popup that appears, click on «Enqueue Validation».
  5. If any of the invoices is already enqueued, there will be a message saying so and avoiding to perform the process.
  6. Once enqueued, and having the «Job Queue Manager» permission, you can go to the invoice, and see the tab «Validation Jobs». A list with all the jobs related to that invoice can be found there.

Known issues / Roadmap

  • Allow to enqueue for validating invoices of different date.
  • There’s a chance that if you perform several enqueues of invoice validations from different dates, the order of the validated invoices, and thus, the number given for it, will result disordered.

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

  • Tecnativa

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:

pedrobaeza

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

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