fixed create custome field problem (state should be manual)

bzr revid: ame@tinyerp.com-342d0381e45947dd408f8bf65d17f84eda1a1f4b
This commit is contained in:
Amit Mendapara
2008-06-20 05:41:49 +00:00
parent f009feb9ac
commit c61376b843
+1 -1
View File
@@ -156,7 +156,7 @@ class ir_model_fields(osv.osv):
raise except_orm('Error', "Custom fields must have a name that starts with 'x_' !")
if self.pool.get(vals['model']):
self.pool.get(vals['model']).__init__(self.pool, cr)
self.pool.get(vals['model'])._auto_init(cr,{})
#self.pool.get(vals['model'])._auto_init(cr,{})
return res
ir_model_fields()