Skip to content

Conversation

pusu-odoo
Copy link

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

@robodoo
Copy link

robodoo commented Sep 10, 2025

Pull request status dashboard

@pusu-odoo pusu-odoo marked this pull request as draft September 10, 2025 11:12
…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
@pusu-odoo pusu-odoo force-pushed the 18.0-add_pricelist_price-pusu branch from efddec7 to ee6ee79 Compare September 10, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants