[6.0 TRUNK] product Why factor_inv is calculated issue rounding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
I saw this:
'factor_inv': fields.
When you verify the compute:
def _compute_
return factor and round(1.0 / factor, 6) or 0.0
In what parallel world you save a FACTOR calculating with a rounding that provoce an bigger error than the solved for it.
If you look in a book, you can see how the indirect measure is un precise and bad done, you need to measure directly and put results exactly on your equations.
This algorith in moy point of view is totally wrong.
Example case.
Put a unit PCE.
Create anothe one where this unit is base, and bigger than base.
Put 12000
See how value is wrong calculated (and it must not be calculated.)
result.: Customer really unconfortable because he think system has really bad features in base.
Thanks.
Hello Nhomar,
This issue is only effecting in Stable .It's working properly fine in Trunk with revision no :: 6582
So , I am setting it as duplicate of lp:931363
Thanks!!