[FIX] base_setup: prevent using incompatible views
If a non-QWeb view is used, it would fail to render the template closes odoo/odoo#27405
This commit is contained in:
committed by
Martin Trigaux
parent
c6189f8c36
commit
76e46b02a1
@@ -36,7 +36,7 @@
|
||||
<div class="content-group">
|
||||
<div class="mt16" groups="base.group_no_one">
|
||||
<label for="external_report_layout_id" string="Template" class="col-3 col-lg-3 o_light_label"/>
|
||||
<field name="external_report_layout_id" class="oe_inline"/>
|
||||
<field name="external_report_layout_id" domain="[('type','=', 'qweb')]" class="oe_inline"/>
|
||||
</div>
|
||||
<div class="mt16">
|
||||
<button name="change_report_template" string="Change Document Template" type="object" class="oe_link" icon="fa-arrow-right"/>
|
||||
|
||||
Reference in New Issue
Block a user