[FIX] allow falsy extra attributes on fields.
bzr revid: chs@openerp.com-20131024135448-e2bpgaqu7mvg1icn
This commit is contained in:
parent
7345cfb697
commit
2859897815
|
@ -117,8 +117,7 @@ class _column(object):
|
||||||
self.groups = False # CSV list of ext IDs of groups that can access this field
|
self.groups = False # CSV list of ext IDs of groups that can access this field
|
||||||
self.deprecated = False # Optional deprecation warning
|
self.deprecated = False # Optional deprecation warning
|
||||||
for a in args:
|
for a in args:
|
||||||
if args[a]:
|
setattr(self, a, args[a])
|
||||||
setattr(self, a, args[a])
|
|
||||||
|
|
||||||
def restart(self):
|
def restart(self):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue