[FIX] fields.py Corrected

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

bzr revid: ach@tinyerp.com-20101015103003-34eytuy07mu8pt1s
This commit is contained in:
Anup (OpenERP)
2010-10-15 16:00:03 +05:30
parent 658d2ba625
commit 60f2b42647
+2
View File
@@ -64,6 +64,8 @@ class _column(object):
_symbol_get = None
def __init__(self, string='unknown', required=False, readonly=False, domain=None, context={}, states=None, priority=0, change_default=False, size=None, ondelete="set null", translate=False, select=False, **args):
if not context:
context = {}
self.states = states or {}
self.string = string
self.readonly = readonly