[ADD] pricelist_price: add book price field based on pricelist#1273
Draft
sopat-odoo wants to merge 1 commit into
Draft
[ADD] pricelist_price: add book price field based on pricelist#1273sopat-odoo wants to merge 1 commit into
sopat-odoo wants to merge 1 commit into
Conversation
- Added computed Book Price field on sale order lines - Computed Book Price from selected pricelist, product, and quantity - Added Book Price field on customer invoice lines - Synced invoice Book Price from related sale order line - Displayed Book Price in sale order and invoice line views
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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.