SQL case fix.

bzr revid: daniel.watkins@credativ.co.uk-20100909132626-wl8k91c4ae19ounv
This commit is contained in:
Daniel Watkins (credativ) 2010-09-09 14:26:26 +01:00
parent 910b26f28c
commit 42ca500813
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
# Searching for action rules
cr.execute("SELECT model.model, rule.id FROM base_action_rule rule \
LEFT JOIN ir_model model on (model.id = rule.model_id) \
where active")
WHERE active")
res = cr.fetchall()
# Check if any rule matching with current object
for obj_name, rule_id in res: