[MERGE]
[odoo/odoo.git] / addons / base_report_designer / wizard / base_report_design_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5      
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"/>
17             </form>
18             </field>
19        </record>
20
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>
28         </record>
29
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"/>
38             <newline/>
39             <field name="file_sxw"/>
40             <newline/>
41             <field name="file_sxw_upload"/>
42             <newline/>
43             <label colspan="4" string="This is the template of your requested report.&#10;Save it as a .SXW file and open it with OpenOffice.&#10;Don't forget to install the OpenERP SA OpenOffice package to modify it.&#10;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"/>
47
48             </form>
49             </field>
50        </record>
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"/>
59                     <newline/>
60                      <separator string="" colspan="4"/>
61                <button special="cancel" string="Cancel" icon="gtk-cancel"/>
62             </form>
63             </field>
64        </record>
65
66
67     </data>
68 </openerp>