[FIX] allow falsy extra attributes on fields.

bzr revid: chs@openerp.com-20131024135448-e2bpgaqu7mvg1icn
This commit is contained in:
Christophe Simonis 2013-10-24 15:54:48 +02:00
parent 7345cfb697
commit 2859897815
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ class _column(object):
self.groups = False # CSV list of ext IDs of groups that can access this field
self.deprecated = False # Optional deprecation warning
for a in args:
if args[a]:
setattr(self, a, args[a])
setattr(self, a, args[a])
def restart(self):
pass