Browse Source

[FIX] base_module_doc_rst: Declare external dependency

pull/534/merge
Pedro M. Baeza 8 years ago
parent
commit
f6147cf6e3
  1. 5
      base_module_doc_rst/__openerp__.py
  2. 5
      base_module_doc_rst/report/report_proximity_graph.py

5
base_module_doc_rst/__openerp__.py

@ -32,6 +32,11 @@
], ],
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["base"], "depends": ["base"],
"external_dependencies": {
'python': [
'pydot',
],
},
"data": [ "data": [
"base_module_doc_rst_view.xml", "base_module_doc_rst_view.xml",
"wizard/generate_relation_graph_view.xml", "wizard/generate_relation_graph_view.xml",

5
base_module_doc_rst/report/report_proximity_graph.py

@ -19,7 +19,10 @@
# #
############################################################################## ##############################################################################
import os import os
import pydot
try:
import pydot
except ImportError:
pydot = False
from openerp import report from openerp import report
from openerp import pooler from openerp import pooler

Loading…
Cancel
Save