Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] stock_account: Automated FIFO error on MO
When trying to click on "Mark as Done" on a MO with raw materials in a category with automated fifo valuation, it raised in some a case (in function called "_prepare_account_move_line") a user error saying: "The cost of the product P is currently equal to 0. Change the cost or the configuration of your product to avoid an incorrect valuation" This problem coming from the fact that in some cases, self.price_unit was equal to 1.04166666666667e-06 instead of 0 opw:1862153, 1866692
- Loading branch information
eb2f104
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hallelujah ❤️
opw: 1863050