mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] bi_view_editor: missing dependancies
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
'qweb': [
|
||||
'static/src/xml/bi_view_editor.xml'
|
||||
],
|
||||
'external_dependencies': {
|
||||
'python': ['pydot'],
|
||||
'deb': ['graphviz']
|
||||
},
|
||||
'post_load': 'post_load',
|
||||
'uninstall_hook': 'uninstall_hook',
|
||||
'installable': True,
|
||||
|
||||
@@ -171,7 +171,7 @@ class BveView(models.Model):
|
||||
try:
|
||||
png_base64_image = base64.b64encode(graph.create_png())
|
||||
bve_view.er_diagram_image = png_base64_image
|
||||
except:
|
||||
except Exception:
|
||||
bve_view.er_diagram_image = False
|
||||
|
||||
def _create_view_arch(self):
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
altair
|
||||
py3o.formats
|
||||
py3o.template
|
||||
pydot
|
||||
PyPDF2
|
||||
xlrd
|
||||
xlsxwriter
|
||||
|
||||
Reference in New Issue
Block a user