[FIX] Add the dot in the object name

lp bug: https://launchpad.net/bugs/300646 fixed

bzr revid: stephane@tinyerp.com-20081216094549-e5493sdtjwm4k99y
This commit is contained in:
Stephane Wirtel 2008-12-16 10:45:49 +01:00
parent ce70e60592
commit 9dec41a7b1
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class ir_model(osv.osv):
if model.state=='manual':
if not model.model.startswith('x_'):
return False
if not re.match('^[a-z_A-Z0-9]+$',model.model):
if not re.match('^[a-z_A-Z0-9.]+$',model.model):
return False
return True