diff options
| author | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-02-02 17:43:51 +0530 |
|---|---|---|
| committer | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-02-02 17:43:51 +0530 |
| commit | e30d5e83204a3cd9562f937139cf12ff8c69d83b (patch) | |
| tree | 8595c8c8c58d47810950fe75512182e8fafd843a /addons/base_module_doc_rst/wizard/generate_relation_graph.py | |
| parent | 580bd71dc7a0e1db5e9bf1a716893d637d1bbdbe (diff) | |
[FIX]base_module_doc_rst: remove context
bzr revid: kjo@tinyerp.com-20120202121351-hi9vxkuh7uh4nm28
Diffstat (limited to 'addons/base_module_doc_rst/wizard/generate_relation_graph.py')
| -rw-r--r-- | addons/base_module_doc_rst/wizard/generate_relation_graph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/base_module_doc_rst/wizard/generate_relation_graph.py b/addons/base_module_doc_rst/wizard/generate_relation_graph.py index 5d2b7e9d3ef..4a708641c73 100644 --- a/addons/base_module_doc_rst/wizard/generate_relation_graph.py +++ b/addons/base_module_doc_rst/wizard/generate_relation_graph.py @@ -29,7 +29,7 @@ class create_graph(osv.osv_memory): def get_graph(self, cr, uid, datas, context=None): mod_obj = pooler.get_pool(cr.dbname).get('ir.module.module') - modules = mod_obj.browse(cr, uid, context['ids'], context=context) + modules = mod_obj.browse(cr, uid, context['active_ids'], context=context) for module in modules: module_data = mod_obj.get_relation_graph(cr, uid, module.name, context=context) if module_data['module_file']: @@ -38,4 +38,4 @@ class create_graph(osv.osv_memory): create_graph() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
