SQL case fix.
bzr revid: daniel.watkins@credativ.co.uk-20100909132626-wl8k91c4ae19ounv
This commit is contained in:
parent
910b26f28c
commit
42ca500813
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue