forked from DGNum/gestioCOF
fixing decimal_issue merging
This commit is contained in:
parent
5ee188e4df
commit
2f1fe15be3
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ def kpsul_perform_operations(request):
|
|||
if operationgroup.on_acc.is_cof:
|
||||
if is_addcost:
|
||||
operation.addcost_amount = operation.addcost_amount / cof_grant_divisor
|
||||
operation.amount = Decimal(float(operation.amount) / cof_grant_divisor)
|
||||
operation.amount = operation.amount / cof_grant_divisor
|
||||
to_articles_stocks[operation.article] -= operation.article_nb
|
||||
else:
|
||||
if operationgroup.on_acc.is_cash:
|
||||
|
|
Loading…
Reference in a new issue