error in calculation when quantity is a float

Bug #1248846 reported by Yvan Reichenbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Financial controlling and costing
Invalid
Undecided
Unassigned

Bug Description

When The quantity of a product in the BoM is a float the "Cost Price (incl. BoM)" field calculation is not correctly calculated.
For example: 0.6 roll of edging valued as $10.00 per roll will return $10.00 instead of $6.00 in the "Cost Price (incl. BoM)" field
(Python v2.7)

description: updated
Revision history for this message
Yvan Reichenbach (yvan-catalystinteriors) wrote :

I feel like an idiot!
This is not a bug.
The problem was in my Unit of Measure rounding precision.
The Rounding Precision was set to 1.0
Setting it to 0 fixed my problem.

Changed in margin-analysis:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.