diff options
| author | Raphael Collet <rco@openerp.com> | 2012-02-09 11:12:26 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-02-09 11:12:26 +0100 |
| commit | 2762ef8c8137019dc8feb69b3059db6c2dd4bc53 (patch) | |
| tree | eabaf9db7db1d3235f31509d39861420f30621aa | |
| parent | cb24ebd4b1dc3e51ccd130780769efbd1464e603 (diff) | |
[FIX] revert an incorrect change in rev 6380
bzr revid: rco@openerp.com-20120209101226-fyv20u7tb4o7lk5f
| -rw-r--r-- | addons/base_module_doc_rst/report/report_proximity_graph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base_module_doc_rst/report/report_proximity_graph.py b/addons/base_module_doc_rst/report/report_proximity_graph.py index 24b45ca7a8e..434ecf46b6d 100644 --- a/addons/base_module_doc_rst/report/report_proximity_graph.py +++ b/addons/base_module_doc_rst/report/report_proximity_graph.py @@ -21,8 +21,7 @@ import time, os import pydot -import report -import tools +import report,pooler,tools class report_graph(report.interface.report_int): def __init__(self, name, table): @@ -30,7 +29,8 @@ class report_graph(report.interface.report_int): self.table = table def get_proximity_graph(self, cr, uid, module_id, context=None): - module_obj = self.pool.get('ir.module.module') + pool_obj = pooler.get_pool(cr.dbname) + module_obj = pool_obj.get('ir.module.module') nodes = [('base','unknown')] edges = [] def get_depend_module(module_id): |
