OdooWiki OCA HUB

Product Last Price Info - Sale

sale_last_price_info folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module adds the last sale info of the product. * Last Sale Price

  • Last Sale Date * Last Customer

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows the last confirmed sale of each product directly on the product form: the last customer, the last sale date and the price used. This helps salespeople quote consistent prices without searching old orders.

This module adds a small "Sale" block to the Sales tab of the product form. For every product, Odoo automatically looks at confirmed sales orders and displays three pieces of information:

  • Last Customer: the customer of the most recent confirmed sale.
  • Last Sale Date: the date of that sale.
  • Last Sale Price: the unit price used in that sale.

These values are calculated automatically; users do not type them. The calculation only considers sales order lines whose order is in the confirmed (sale) state, so draft or cancelled orders are ignored. The most recent one is chosen based on the order date.

To make this work, the module also stores the order date on each sales order line, which allows Odoo to sort lines by date efficiently. No new menus, buttons, reports or scheduled actions are added. The information appears only on the product form, inside the existing Sales tab, and is based on the standard product and sales order line models.

Depends on

sale_management
Models and fields (2)
  • product.product · extends an existing modellast_sale_date, last_sale_price, last_customer_id (Last Customer)
  • sale.order.line · extends an existing modeldate_order_sale_last_price_info (Order date)

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/sale-workflow.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.