[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:
parent
ce70e60592
commit
9dec41a7b1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue