Skip to content
Extraits de code Groupes Projets
Valider bce0406b rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[clean] delete print

parent fd6ca206
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -142,7 +142,6 @@ class ScopAccountInvoice(models.Model): ...@@ -142,7 +142,6 @@ class ScopAccountInvoice(models.Model):
totlines = inv.payment_term_id.with_context( totlines = inv.payment_term_id.with_context(
currency_id=company_currency.id).compute(total, inv.date_invoice, inv)[0] currency_id=company_currency.id).compute(total, inv.date_invoice, inv)[0]
res_amount_currency = total_currency res_amount_currency = total_currency
print(totlines)
for i, t in enumerate(totlines): for i, t in enumerate(totlines):
if inv.currency_id != company_currency: if inv.currency_id != company_currency:
amount_currency = company_currency._convert( amount_currency = company_currency._convert(
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter