[FIX] base: show Qweb views from reports

The commit 480184115d introduce a new 
report type (qweb-text). It uses qweb syntax and views but the button 
'Qweb view' is hidden in the report form. 
This commit displays the button for the new type.
This commit is contained in:
William Henrotin
2018-08-10 09:32:53 +02:00
parent d6a601fe3f
commit 80ceddfe8f
+1 -1
View File
@@ -62,7 +62,7 @@
attrs="{'invisible':[('binding_model_id','=',False)]}" icon="fa-minus-square"
help="Remove the contextual action related this report" class="oe_stat_button"/>
<button name="associated_view" string="QWeb views" type="object"
attrs="{'invisible':[('report_type', 'not in', ['qweb-pdf', 'qweb-html'])]}" icon='fa-code'
attrs="{'invisible':[('report_type', 'not in', ['qweb-pdf', 'qweb-html', 'qweb-text'])]}" icon='fa-code'
class="oe_stat_button"/>
</div>
<group>