From 314674c018e2e6f539a43ca4ba4f7f8941da99d1 Mon Sep 17 00:00:00 2001
From: Benjamin <Benjamin@MBP-de-Benj.(none)>
Date: Fri, 4 Aug 2017 09:38:48 +0200
Subject: [PATCH] [modif] couts annexes positif

---
 lefilament_projets.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lefilament_projets.py b/lefilament_projets.py
index d84cc32..c408d7e 100644
--- a/lefilament_projets.py
+++ b/lefilament_projets.py
@@ -52,7 +52,7 @@ class FilamentProjet(models.Model):
 		self.env.cr.execute("select sum(untaxed_amount) from hr_expense where analytic_account_id=%s;", (account, ) )
 		couts_annexes = self.env.cr.fetchone()[0]
 		if couts_annexes:
-			self.lf_couts_annexes = couts_annexes * (-1.0)
+			self.lf_couts_annexes = couts_annexes
 		else:
 			self.lf_couts_annexes = 0.0
 
-- 
GitLab