summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-09-26 22:39:30 +0200
committerMartin Geubelle <mge@odoo.com>2018-09-27 12:29:12 +0200
commitfc268a37dd252896e543972e7919cca9f53c53b0 (patch)
tree5aff555524e28124fd0afa222a9051f32a483483 /addons/web/static/src/js/views/basic/basic_model.js
parented2a8c4f3b29a1745ddd5e5e55b11c2dadd7544f (diff)
[FIX] mrp: correctly define BOM structure report
Calling `html_container` is not only useless when using the `basic_layout` but it's also dangerous because it is already present in the latter. The assets will be added twice in the report (once in the head and once in the body). Morever, the <base> tag was added in the report ; this tag is only useful when rendering the pdf version, which uses minimal_layout that already set the <base> tag ; this tag can only be present once in an HTML document so it has been removed from the BOM report. This results in a report not being editable by Studio.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions