diff --git a/lefilament_projets.py b/lefilament_projets.py index d84cc32dabff5d09096d28e0ba18dc656e872004..c408d7e3eb8242df866b708f7d755132c3e67378 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