Files
odoo_source/addons/web/static/src/xml/report.xml
T
qsm-odoo c59380bac5 [REF] *: BS4, rename btn-default to btn-secondary
BS4 "btn-default" class was replaced with "btn-secondary", which makes
more sense.
2018-07-27 12:36:54 +02:00

21 lines
841 B
XML

<template>
<!-- Main layout (iframe) -->
<div t-name="report.client_action">
<iframe class="o_report_iframe"/>
</div>
<!-- Buttons of the Control Panel -->
<t t-name="report.client_action.ControlButtons">
<div class="o_report_no_edit_mode">
<button type="button" class="btn btn-primary o_report_print" title="Print">Print</button>
</div>
<div class="o_edit_mode_available">
<button type="button" class="btn btn-secondary o_report_edit" title="Edit">Edit</button>
</div>
<div class="o_report_edit_mode">
<button type="button" class="btn btn-primary o_report_save" title="Save">Save</button>
<button type="button" class="btn btn-secondary o_report_discard" title="Discard">Discard</button>
</div>
</t>
</template>