Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0
Category
Sales
Folder size
0.01 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com/
Last tracking update
2026-08-07 06:56:10
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp
Committers
Alexandre Fayolle
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Last Sale Price
===============

Add price, quantity and date of a product of the last time it was sold to
a partner.

In order to let the salesman know if a customer already ordered a product.
And to give him hint about what price he should propose.
That information is shown next to the price in Sale Order's line Form.

Only Sale Orders' lines in state Confirmed and Done are considered to
compute those fields.

If multiple Sale Order lines for the same partner where made on the same
date for the same product, the sum of all quantity and the average price
will be displayed.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order.form.last_sale sale.order form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.