1 <?xml version="1.0" encoding="utf-8"?>
6 <record id="view_base_report_sxw" model="ir.ui.view">
7 <field name="name">Base Report sxw</field>
8 <field name="model">base.report.sxw</field>
9 <field name="type">form</field>
10 <field name="arch" type="xml">
11 <form string="Get a report">
12 <separator string="Select your report" colspan="4"/>
13 <field name="report_id"/>
14 <separator string="" colspan="4"/>
15 <button special="cancel" string="Cancel" icon="gtk-cancel"/>
16 <button name="get_report" string="Continue" type="object" icon="gtk-ok"/>
21 <record id="action_view_base_report_sxw" model="ir.actions.act_window">
22 <field name="name">Base Report sxw</field>
23 <field name="type">ir.actions.act_window</field>
24 <field name="res_model">base.report.sxw</field>
25 <field name="view_type">form</field>
26 <field name="view_mode">form</field>
27 <field name="target">new</field>
30 <record id="view_base_report_file_sxw" model="ir.ui.view">
31 <field name="name">Base Report File sxw</field>
32 <field name="model">base.report.file.sxw</field>
33 <field name="type">form</field>
34 <field name="arch" type="xml">
35 <form string="Get a report">
36 <separator string="The .SXW report" colspan="4"/>
37 <field name="report_id"/>
39 <field name="file_sxw"/>
41 <field name="file_sxw_upload"/>
43 <label colspan="4" string="This is the template of your requested report. Save it as a .SXW file and open it with OpenOffice. Don't forget to install the OpenERP SA OpenOffice package to modify it. Once it is modified, re-upload it in OpenERP using this wizard." align="0.0"/>
44 <separator string="" colspan="4"/>
45 <button special="cancel" string="Cancel" icon="gtk-cancel"/>
46 <button name="upload_report" string="Upload the modified report" type="object" icon="gtk-go-forward"/>
51 <record id="view_base_report_file_rml" model="ir.ui.view">
52 <field name="name">Base Report File sxw</field>
53 <field name="model">base.report.rml.save</field>
54 <field name="type">form</field>
55 <field name="arch" type="xml">
56 <form string="Save RML FIle">
57 <separator string="The RML report" colspan="4"/>
58 <field name="file_rml"/>
60 <separator string="" colspan="4"/>
61 <button special="cancel" string="Cancel" icon="gtk-cancel"/>