odoo/addons/base_report_designer/wizard/base_report_design_view.xml

62 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_base_report_sxw" model="ir.ui.view">
<field name="name">Base Report sxw</field>
<field name="model">base.report.sxw</field>
<field name="arch" type="xml">
<form string="Get a report">
<group string="Select your report">
<field name="report_id"/>
</group>
<footer>
<button name="get_report" string="Continue" type="object" class="oe_highlight"/>
<button name="upload_report" string="Upload the modified report" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_view_base_report_sxw" model="ir.actions.act_window">
<field name="name">Base Report sxw</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">base.report.sxw</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="view_base_report_file_sxw" model="ir.ui.view">
<field name="name">Base Report File sxw</field>
<field name="model">base.report.file.sxw</field>
<field name="arch" type="xml">
<form string="Get a report" version="6.1">
<separator string="The .SXW report" colspan="4"/>
<field name="report_id"/>
<newline/>
<field name="file_sxw"/>
<newline/>
<field name="file_sxw_upload"/>
<newline/>
<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"/>
</form>
</field>
</record>
<record id="view_base_report_file_rml" model="ir.ui.view">
<field name="name">Base Report File sxw</field>
<field name="model">base.report.rml.save</field>
<field name="arch" type="xml">
<form string="Save RML FIle" version="6.1">
<separator string="The RML Report"/>
<field name="file_rml"/>
</form>
</field>
</record>
</data>
</openerp>