[FIX] project_issue: fixed call to tools.command_re.
bzr revid: tde@openerp.com-20121227094351-slae97t4r19ehp3e
This commit is contained in:
parent
f404ace775
commit
502abd4350
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue