odoo/tutorials#1165
Created by Ishwargiri Goswami (isgos)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 3s)
- ci/tutorial: (runtime 97s)
- label
- odoo-dev:19.0-add-pricelist-price-isgos
- head
- 15f22da6d99ab74ff54449f585a6e27b96f8dd22
| odoo/tutorials | |
|---|---|
| 19.0 | #1165 missing r+ |
| master |
[ADD] add_pricelist_price: add book price to sale and invoice lines
Business Context
Client requires the ability to see the original pricelist price ("Book Price") on sales order lines and invoice lines. This will be used to compare between pricelist ("Book Price") and any manually adjusted price on the lines.
Proposed Solution:
Add a new computed field on Sales Order Lines and Account Move Lines that will output the relevant pricelist price based on the currently selected pricelist, product and quantity.
On the Invoice Lines tree view - add the new "Book Price" field (only on customer invoices)
On the Sales Order lines tree view - add the new "Book Price" field.