[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user