Skip to main content

Enqueue account invoice validation

Project description

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

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 selected invoices are not in draft state, you will receive an error.

  6. If any of the invoices is already enqueued, there will be a message saying so and avoiding to perform the process.

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

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

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