[FIX] revert an incorrect change in rev 6380
bzr revid: rco@openerp.com-20120209101226-fyv20u7tb4o7lk5f
This commit is contained in:
parent
cb24ebd4b1
commit
2762ef8c81
|
@ -21,8 +21,7 @@
|
||||||
import time, os
|
import time, os
|
||||||
import pydot
|
import pydot
|
||||||
|
|
||||||
import report
|
import report,pooler,tools
|
||||||
import tools
|
|
||||||
|
|
||||||
class report_graph(report.interface.report_int):
|
class report_graph(report.interface.report_int):
|
||||||
def __init__(self, name, table):
|
def __init__(self, name, table):
|
||||||
|
@ -30,7 +29,8 @@ class report_graph(report.interface.report_int):
|
||||||
self.table = table
|
self.table = table
|
||||||
|
|
||||||
def get_proximity_graph(self, cr, uid, module_id, context=None):
|
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')]
|
nodes = [('base','unknown')]
|
||||||
edges = []
|
edges = []
|
||||||
def get_depend_module(module_id):
|
def get_depend_module(module_id):
|
||||||
|
|
Loading…
Reference in New Issue