projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7345cfb
)
[FIX] allow falsy extra attributes on fields.
author
Christophe Simonis
<chs@openerp.com>
Thu, 24 Oct 2013 13:54:48 +0000
(15:54 +0200)
committer
Christophe Simonis
<chs@openerp.com>
Thu, 24 Oct 2013 13:54:48 +0000
(15:54 +0200)
bzr revid: chs@openerp.com-
20131024135448
-e2bpgaqu7mvg1icn
openerp/osv/fields.py
patch
|
blob
|
history
diff --git
a/openerp/osv/fields.py
b/openerp/osv/fields.py
index
1ebf5ec
..
da6dd72
100644
(file)
--- a/
openerp/osv/fields.py
+++ b/
openerp/osv/fields.py
@@
-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