Last Sale Price

last_sale_price
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/7.0/last_sale_price
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - sale
    - account_voucher
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits sale.view_order_form
Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.