We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 981362b commit 6476208Copy full SHA for 6476208
openerp/modules/graph.py
@@ -78,7 +78,7 @@ def update_from_db(self, cr):
78
)
79
80
## and we update the default values with values from the database
81
- additional_data.update(dict([(x.pop('name'), x) for x in cr.dictfetchall()]))
+ additional_data.update((x['name'], x) for x in cr.dictfetchall())
82
83
for package in self.values():
84
for k, v in additional_data[package.name].items():
0 commit comments