[FIX] l10n_fr_fec: exclude initial balance at 0

The FEC control check does not like rows
with debit = credit = 0

```
º Structure fichier incorrecte, débit/crédit ...
renseignés sur une même ligne ... , ou débit=crédit=0
```

opw-682365
This commit is contained in:
Denis Ledoux
2016-07-04 14:53:00 +02:00
parent e349692ede
commit f7e4241a91
+1
View File
@@ -166,6 +166,7 @@ class AccountFrFec(models.TransientModel):
sql_query += '''
GROUP BY aml.account_id
HAVING sum(aml.balance) != 0
'''
formatted_date_from = self.date_from.replace('-', '')
self._cr.execute(