odoo/tutorials#1273
Created by Soham Yashwant Patil (sopat)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 7s)
- ci/tutorial: (runtime 171s)
- label
- odoo-dev:19.0-pricelist-price-sopat
- head
- 2a0b944a980e16328f066faa0e6c6a2cb3e056a7
| odoo/tutorials | |
|---|---|
| 19.0 | #1273 missing r+ |
| master |
[ADD] pricelist_price: add book price field based on pricelist
Business Context
This task adds a Book Price field on Sales Order Lines and Customer Invoice Lines. The Book Price shows the original price calculated from the selected pricelist, product, and quantity, so users can compare it with the manually adjusted Unit Price.
Changes Done
Added computed Book Price field on sale.order.line.
Computed Book Price using the selected pricelist, product, and quantity.
Added Book Price field on account.move.line.
Synced invoice line Book Price from the related sale order line.
Added Book Price column in Sales Order line tree view.
Added Book Price column in Customer Invoice line tree view.
Result
Users can now see the original pricelist price on both Sales Orders and Customer Invoices, making it easier to compare the Book Price with the final Unit Price.