diff options
| author | Goffin Simon <sig@odoo.com> | 2018-07-16 14:36:17 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-17 10:20:12 +0200 |
| commit | eb2f104e441677e9f8b39e20ab99cf373d5c7c5c (patch) | |
| tree | 152ec3022e031eb3ded9dbf590b23710ac923e14 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 3656999f5e51658e0611af100c1507abc7647d94 (diff) | |
[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
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
