OdooWiki OCA HUB

Account Invoice Check Picking Date

account_invoice_check_picking_date folder_open OCA/account-invoicing open_in_new
Accounting License: AGPL-3

This module checks if date of pickings match with accounting date

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When posting a vendor bill, Odoo compares the invoice accounting date with the dates of the related stock moves. If the month differs, a warning popup appears and only accounting managers can force the posting.

This module adds a control when you post a vendor bill that is linked to stock moves (for example, a bill created from a receipt).

  • When you click Post on a vendor bill, Odoo looks at the stock moves connected to that invoice and finds the earliest and latest move dates.
  • If the month of the invoice accounting date is different from the month of the latest stock move, posting is stopped and a popup opens with the message "Accounting date does not match with stock move dates".
  • The popup shows the accounting date, the first stock move date and the last stock move date, so you can see the mismatch.
  • The popup has a Continue button that is only visible to users with accounting manager rights. Pressing it posts the invoice anyway.
  • A Cancel button closes the popup without posting.

The check applies by default to vendor bills (in_invoice). The list of invoice types to check can be changed through a system parameter, but the code only reads it; no screen is provided to edit it.

The module extends account.move and adds a new wizard model, invoice.picking.date.check.wiz, used only for the warning popup. It depends on stock_account.

Depends on

stock_account
Models and fields (2)
  • account.move · extends an existing model
  • invoice.picking.date.check.wiz · new modelinvoice_id, exception_msg

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • You can define the config_parameter

"account_invoice_check_picking_date.invoice_types" with a list of invoice type separated by comma. Ex. "in_invoice,in_refund"

  • Go to Purchases \> Purchase Orders \> Create.
  • Choose a supplier and add a stockable product.
  • Confirm the purchase order.
  • Go to Receptions \> Validate \> Apply.
  • Return to the purchase order.
  • Press the button Create Bill to create the vendor bill.
  • Set accounting date with other month date
  • Press the button Confirm to view warning message.

No verified information in OCA: Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.