-
-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12.0][REF] purchase_landed_cost: Rename variables
This commit aim to : 1. Avoid confusion between product's `standard_price` (which will be mod ified by clicking on 'Update Cost') and the sought-after "product's Landed Cost" 2. Avoid confusion between the words 'price', 'expenses' and 'cost'. Following the idea that : Cost = Price + Expenses Thus, the following changes were made : - delete `product_price_unit` (a **related** field to stock move's `price_unit`) - rename `standard_price_old` into `product_price_unit` (a **calculated** field which give stock move's `price_unit`) - rename `standar_price_new` into `landed_cost_unit` (and reset it to zero when the Cost Distribution calculation is canceled) - rename `total_amount` into `product_price_amount` - rename `cost_ratio` into `expense_unit` - rename `expense_unit` and `expense_amount` (in the Cost Distrib. lines only) into `expenses_unit` and `expenses_amount` to help making the difference from the singles `expense` in other classes.
- Loading branch information
1 parent
19314f5
commit f438055
Showing
12 changed files
with
109 additions
and
100 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.