mis-builder/mis_builder_expimp/wizards/mis_builder_export_views.xml
2022-02-13 03:14:17 +00:00

45 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data>
<record id="mis_builder_export_wizard_view" model="ir.ui.view">
<field name="name">mis.builder.export.wizard.view</field>
<field name="model">mis.builder.export.wizard</field>
<field name="arch" type="xml">
<form string="Export MIS Report">
<field name="state" invisible="1"/>
<field name="name" invisible="1"/>
<div states="draft">
<p>This wizard will export a MIS Report including all dependencies.
<br/>After export you can import this file in another system to have the same MIS Report.
</p>
</div>
<group states="draft">
<field name="report_id"/>
</group>
<group states="download">
<group>
<field name="file_save" filename="name"/>
</group>
</group>
<footer>
<button name="export" string="Generate File" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_mis_builder_export_wizard" model="ir.actions.act_window">
<field name="name">Export MIS Report</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mis.builder.export.wizard</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem id="menu_mis_builder_export_action"
name="Export MIS Report"
parent="mis_builder.mis_report_conf_menu"
action="action_mis_builder_export_wizard"
sequence="500"/>
</data>
</flectra>