Commit afc86dc1 authored by gdetrez's avatar gdetrez
Browse files

correction d'un bug qui creait des factures non payables

darcs-hash:20070908163053-f46e9-c07cc32b7b00b47d08a0691d977cf573725dbfa2.gz
parent 5d994bec
......@@ -3356,6 +3356,9 @@ class Facture(BaseClasseCrans):
for art in self._articles():
s += 0.035 * art['nombre'] * art['pu']
# arrondissage-tronquage
s = float(int(s*100)/100.0)
# ajoute la liste d'articles de frais
arts.append( {'code':'FRAIS','designation':'Frais de tansaction PayPal','nombre':1,'pu':round(s,2)} )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment