You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
2.0 KiB
51 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2019 Ecosoft Co., Ltd.
|
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).-->
|
|
<odoo>
|
|
|
|
<record id="xlsx_report_view" model="ir.ui.view">
|
|
<field name="name">xlsx.report.view</field>
|
|
<field name="model">xlsx.report</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Excel Report">
|
|
|
|
<!-- search criteria -->
|
|
<group name="criteria" states="choose">
|
|
</group>
|
|
|
|
<!-- xlsx.report common field -->
|
|
<div name="xlsx.report">
|
|
<field name="state" invisible="1"/>
|
|
<field name="name" invisible="1"/>
|
|
<field name="choose_template" invisible="1"/>
|
|
<div states="choose">
|
|
<label string="Choose Template: " for="template_id"
|
|
attrs="{'invisible': [('choose_template', '=', False)]}"/>
|
|
<field name="template_id"
|
|
attrs="{'invisible': [('choose_template', '=', False)]}"/>
|
|
</div>
|
|
<div states="get">
|
|
<h2>
|
|
Complete Prepare Report (.xlsx)
|
|
</h2>
|
|
<p colspan="4">
|
|
Here is the report file:
|
|
<field name="data" filename="name" class="oe_inline"/>
|
|
</p>
|
|
</div>
|
|
<footer states="choose">
|
|
<button name="report_xlsx" string="Execute Report" type="object" class="oe_highlight"/>
|
|
or
|
|
<button special="cancel" string="Cancel" type="object" class="oe_link"/>
|
|
</footer>
|
|
<footer states="get">
|
|
<button special="cancel" string="Close" type="object"/>
|
|
</footer>
|
|
</div>
|
|
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|