[FIX] project_issue: fixed call to tools.command_re.

bzr revid: tde@openerp.com-20121227094351-slae97t4r19ehp3e
This commit is contained in:
Thibault Delavallée 2012-12-27 10:43:51 +01:00
parent f404ace775
commit 502abd4350
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class project_issue(base_stage, osv.osv):
}
for line in msg.get('body', '').split('\n'):
line = line.strip()
res = tools.misc.command_re.match(line)
res = tools.command_re.match(line)
if res and maps.get(res.group(1).lower(), False):
key = maps.get(res.group(1).lower())
update_vals[key] = res.group(2).lower()