@@ -191,10 +191,12 @@ class LeFilamentTdb(models.Model):
tresorerie=self._cr.dictfetchall()
self._cr.execute("""SELECT
sum(es.total_amount) as cca
from hr_expense_sheet es, hr_expense e
where es.id = e.sheet_id and e.payment_mode='own_account' and es.state!='done';""")
cca=self._cr.fetchone()[0]
(select sum(es.total_amount) as fonds_propres from hr_expense_sheet es, hr_expense e where es.id = e.sheet_id and e.payment_mode='own_account' and es.state!='done') as cca,
(select sum(capital) as capital from hr_employee) as capital;""")