66 lines
2.8 KiB
XML
66 lines
2.8 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">
|
|
<group col="4">
|
|
<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. Save it as a .SXW file and open it with OpenOffice. Don't forget to install the Odoo SA OpenOffice package to modify it. Once it is modified, re-upload it in Odoo using this wizard." align="0.0"/>
|
|
</group>
|
|
</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">
|
|
<group col="4">
|
|
<separator string="The RML Report"/>
|
|
<field name="file_rml"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|