Skip to content
Snippets Groups Projects
Commit 6b490ef2 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] base, report: fix choose report template broken by 'new report'

Report module has been cleaned and moved into base at https://github.com/odoo/odoo/commit/e80238042c9d93d492ea8b06b0041aced0d81dcd.
However there are leftover references to report module. This crashes
the template choice feature.
parent 2a5cd52d
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
}
}
.o_report_layout_background {
background-image: url(/report/static/src/img/bg_background_template.jpg);
background-image: url(/base/static/img/bg_background_template.jpg);
background-size: cover;
background-position: bottom center;
background-repeat: no-repeat;
......
......@@ -140,24 +140,24 @@
<div class="row mt16">
<div class="col-xs-3 text-center">
<button type="object" name="set_report_template" context="{'report_template': 'background'}">
<img src="/report/static/src/img/preview_background.png" class="img img-responsive img-thumbnail" alt="Preview Background Template"/>
<img src="/base/static/img/preview_background.png" class="img img-responsive img-thumbnail" alt="Preview Background Template"/>
</button>
<a href="/report/static/src/pdf/preview_background.pdf" target="_blank">preview</a>
<a href="/base/static/pdf/preview_background.pdf" target="_blank">preview</a>
</div><div class="col-xs-3 text-center">
<button type="object" name="set_report_template" context="{'report_template': 'boxed'}">
<img src="/report/static/src/img/preview_boxed.png" class="img img-responsive img-thumbnail" alt="Preview Boxed Template"/>
<img src="/base/static/img/preview_boxed.png" class="img img-responsive img-thumbnail" alt="Preview Boxed Template"/>
</button>
<a href="/report/static/src/pdf/preview_boxed.pdf" target="_blank">preview</a>
<a href="/base/static/pdf/preview_boxed.pdf" target="_blank">preview</a>
</div><div class="col-xs-3 text-center">
<button type="object" name="set_report_template" context="{'report_template': 'clean'}">
<img src="/report/static/src/img/preview_clean.png" class="img img-responsive img-thumbnail" alt="Preview Clean Template"/>
<img src="/base/static/img/preview_clean.png" class="img img-responsive img-thumbnail" alt="Preview Clean Template"/>
</button>
<a href="/report/static/src/pdf/preview_clean.pdf" target="_blank">preview</a>
<a href="/base/static/src/pdf/preview_clean.pdf" target="_blank">preview</a>
</div><div class="col-xs-3 text-center">
<button type="object" name="set_report_template" context="{'report_template': 'standard'}">
<img src="/report/static/src/img/preview_standard.png" class="img img-responsive img-thumbnail" alt="Preview Minimalist Template"/>
<img src="/base/static/img/preview_standard.png" class="img img-responsive img-thumbnail" alt="Preview Minimalist Template"/>
</button>
<a href="/report/static/src/pdf/preview_standard.pdf" target="_blank">preview</a>
<a href="/base/static/pdf/preview_standard.pdf" target="_blank">preview</a>
</div>
</div>
<footer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment