odoo/tutorials#935

Created by Purvik Sukhadiya (pusu)

Blocked

label
odoo-dev:18.0-add_pricelist_price-pusu
head
ee6ee79210276fd6d9f0a81876f3c1c5cbcc880a
odoo/tutorials
18.0 #935 missing r+
19.0
master

[ADD] sale_pricelist_price: add "Book Price" field on SO and Invoice lines.

Currently users cannot currently see the original pricelist price when editing sales order lines or invoice lines, making it difficult to compare with manually adjusted prices.

This change introduces a new module sale_pricelist_price that adds a computed field book_price on sale.order.line and account.move.line. The field calculates the original pricelist price based on the selected pricelist, product, and quantity.

Views updated:
* Sales Order Lines tree view to display book_price.
* Invoice Lines tree view (customer invoices) to display book_price.
* Sale order lines are now color-coded: green if unit_price > book_price, red if unit_price < book_price.

This ensures visibility of baseline pricelist prices for better decision-making and easier verification of manual adjustments.

task-5072748