summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/report.xml
diff options
context:
space:
mode:
authorLaurent Smet <las@openerp.com>2017-04-26 09:31:55 +0200
committerLaurent Smet <las@openerp.com>2017-05-08 09:23:12 +0200
commite80238042c9d93d492ea8b06b0041aced0d81dcd (patch)
tree70ed26eb99cf62ff7d5418a0748d1aa166136067 /addons/web/static/src/xml/report.xml
parent3425752eaca236c1e4b4d616aa49b3faa6cfd957 (diff)
[REF] report: remove the report module
The content of the report module is now dispatched in the 'base' and the 'web' modules.
Diffstat (limited to 'addons/web/static/src/xml/report.xml')
-rw-r--r--addons/web/static/src/xml/report.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/report.xml b/addons/web/static/src/xml/report.xml
new file mode 100644
index 00000000000..c578add8ce9
--- /dev/null
+++ b/addons/web/static/src/xml/report.xml
@@ -0,0 +1,21 @@
+<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 btn-sm o_report_print" title="Print">Print</button>
+ </div>
+ <div class="o_edit_mode_available">
+ <button type="button" class="btn btn-default btn-sm o_report_edit" title="Edit">Edit</button>
+ </div>
+ <div class="o_report_edit_mode">
+ <button type="button" class="btn btn-primary btn-sm o_report_save" title="Save">Save</button>
+ <button type="button" class="btn btn-default btn-sm o_report_discard" title="Discard">Discard</button>
+ </div>
+ </t>
+</template> \ No newline at end of file