OdooWiki OCA HUB

Sale Invoice Date From Picking

sale_invoice_date_from_picking folder_open OCA/account-invoicing open_in_new
Invoicing License: AGPL-3

This module sets the invoice date based on the date or datetime field configured in the 'Picking Date Field for Invoice Date' setting. If the selected field has no value, the system will fallback to using the date_done of the latest completed picking as the invoice date.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you choose a date field on transfers so that invoices created from sales orders automatically use that date (or the completion date of the last done transfer) as the invoice date.

This module adds a setting that controls which date is used as the invoice date when you invoice a sales order that involves stock transfers.

In the Sales settings, under the invoicing section, you can pick a date or date/time field from the transfer (stock.picking) model. The choice is saved per company.

When an invoice is prepared from a sales order, the module looks at the last completed transfer linked to that order. If the chosen field has a value, that value becomes the invoice date. If the chosen field is empty, or if the field is a date/time field, the module falls back to the completion date of that last completed transfer. If no completed transfer exists, or no field is configured, the normal invoice date behaviour is kept.

Date/time values are converted to the time zone of the company's partner or the current user before being turned into a date.

The module extends res.company, res.config.settings and sale.order, and adds a field to the Sales settings screen.

Depends on

sale_stock
Models and fields (3)
  • sale.order · extends an existing model
  • res.company · extends an existing modelpicking_date_field_for_invoice_date
  • res.config.settings · extends an existing modelpicking_date_field_for_invoice_date

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 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 16.0
  • Navigate to Sales > Configuration > Settings.
  • Find and set the 'Picking Date Field for Invoice Date' to use its value as the invoice date.
  • Create a Sale Order with a storable product.
  • Validate the delivery.
  • Create the invoice.
  • The invoice date will be taken from the field on the delivery order, as specified in the settings.

No verified information in OCA: Installation.

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.