summaryrefslogtreecommitdiff
path: root/addons/base_module_doc_rst/wizard/generate_relation_graph.py
diff options
context:
space:
mode:
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.py2
1 files changed, 1 insertions, 1 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 0d4453b0bcc..7b04f183129 100644
--- a/addons/base_module_doc_rst/wizard/generate_relation_graph.py
+++ b/addons/base_module_doc_rst/wizard/generate_relation_graph.py
@@ -28,7 +28,7 @@ form_rep = '''<?xml version="1.0"?>
<label colspan="2" string="(Relationship Graphs generated)" align="0.0"/>
</form>'''
-def _get_graph(self, cr, uid, datas, context={}):
+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, datas['ids'], context=context)
for module in modules: