[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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user