tinyerp / erppeek

A versatile tool for Odoo / OpenERP. *** Forked as Odooly ⟶
https://github.com/tinyerp/odooly
Other
171 stars 99 forks source link

Model.fields() method is broken #63

Closed florentx closed 10 years ago

florentx commented 10 years ago
>>> len(model('res.company').keys())
38
>>> len(model('res.company').fields())
0

>>> len(model('res.users').keys())                                                                                                     
68
>>> model('res.users').fields().keys()                                                                                                 
['lang',
 'in_group_8',
 'in_group_6',
 'sel_groups_3_4',
 'in_group_2',
 'sel_groups_7',
 'sel_groups_5',
 'in_group_11',
 'in_group_1',
 'sel_groups_9_10']
florentx commented 10 years ago

this bug is only present in master after the merge of PR #44

Fix is coming soon :-)

florentx commented 10 years ago

Fixed with 8edcdac