mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] replace string substitution in SQL query
This commit is contained in:
@@ -97,7 +97,7 @@ class AccountStatementCompletionRule(orm.Model):
|
|||||||
l.profile_id = s.profile_id
|
l.profile_id = s.profile_id
|
||||||
AND
|
AND
|
||||||
st_l.id = %s
|
st_l.id = %s
|
||||||
""" % (line.id))
|
""", (line.id,))
|
||||||
for partner, account in cr.fetchall():
|
for partner, account in cr.fetchall():
|
||||||
context['label_memorizer'][line.id].append({'partner_id': partner,
|
context['label_memorizer'][line.id].append({'partner_id': partner,
|
||||||
'account_id': account})
|
'account_id': account})
|
||||||
|
|||||||
Reference in New Issue
Block a user