Merge pull request #10 from RoelAdriaans-B-informed/7.0

[IMP] Add statement line reference to search
This commit is contained in:
Maxime Chambreuil - http://www.savoirfairelinux.com
2014-11-07 14:13:21 -05:00

View File

@@ -92,7 +92,7 @@ class AccountStatementCompletionRule(orm.Model):
ON
st_l.statement_id = s.id
WHERE
st_l.name ~* l.label
(st_l.name ~* l.label OR st_l.ref ~* l.label)
AND
l.profile_id = s.profile_id
AND