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 ON
st_l.statement_id = s.id st_l.statement_id = s.id
WHERE WHERE
st_l.name ~* l.label (st_l.name ~* l.label OR st_l.ref ~* l.label)
AND AND
l.profile_id = s.profile_id l.profile_id = s.profile_id
AND AND