tutorials
tutorials copied to clipboard
[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 ifunit_price<book_price.
This ensures visibility of baseline pricelist prices for better decision-making and easier verification of manual adjustments.
task-5072748
