main #7
@@ -120,7 +120,7 @@ class MtmStrategy(ModelSQL, ModelView):
|
|||||||
|
|
||||||
total += value * qty
|
total += value * qty
|
||||||
|
|
||||||
return total
|
return Decimal(str(total)).quantize(Decimal("0.01"))
|
||||||
|
|
||||||
def _get_matrix_price(self, comp, line, dt):
|
def _get_matrix_price(self, comp, line, dt):
|
||||||
MatrixLine = Pool().get('price.matrix.line')
|
MatrixLine = Pool().get('price.matrix.line')
|
||||||
|
|||||||
Reference in New Issue
Block a user