OdooWiki OCA HUB

Sale Order Lot Selection Price

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

This module allows you to define a sales price for lots in order to use that price in sales order lines.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When a lot or serial number is chosen on a sales order line, Odoo uses the price defined on that lot instead of the product's normal sales price.

This module links the lot/serial number selected on a sales order line to the price used on that line.

  • On a sales order line, once a lot or serial number is picked, the unit price is recalculated from the price stored on that lot, not from the product's standard sales price.
  • The recalculation happens automatically when the lot changes, so the line price stays consistent with the selected lot.
  • The lot price is taken from the lot's own sales price (list price) and, for cost-related calculations, from the lot's cost price.
  • It works together with the modules that add lot selection on sales order lines and lot price fields on stock lots.

It affects the sales order line (sale.order.line) and the product pricing logic (product.product). No new menus, screens, buttons or reports are added; the change is visible directly in the unit price field of the sales order line when a lot is selected.

Models and fields (1)
  • sale.order.line · extends an existing model

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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Create a pricelist
  • Set Price type=Formula
  • Set Base Price=Sales Prices or Cost
  • Create a batch and set Sales Prices or Cost
  • Create a sales order
  • Use the price list created above
  • Add a line to the order and use the batch created above
  • The line price will be the corresponding price (Sales Prices or Cost) + discount

No verified information in OCA: Installation, 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.