tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

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

Open pusu-odoo opened this issue 3 months ago • 1 comments

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

pusu-odoo avatar Sep 10 '25 11:09 pusu-odoo

Pull request status dashboard

robodoo avatar Sep 10 '25 11:09 robodoo