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.
 
 
 
 
 

35 lines
1.4 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Wizard for printing pdf report of crop request-->
<record id="crop_report_view_form" model="ir.ui.view">
<field name="name">crop.report.view.form</field>
<field name="model">crop.report</field>
<field name="arch" type="xml">
<form string="Crop Report">
<group>
<group>
<field name="date_from"/>
</group>
<group>
<field name="date_to"/>
</group>
</group>
<footer>
<button name="action_pdf_report" string="Print PDF"
type="object" class="btn-primary"/>
<button string="Cancel" class="btn-secondary"
special="cancel"/>
</footer>
</form>
</field>
</record>
<!-- Action of menu Reporting-->
<record id="crop_report_action" model="ir.actions.act_window">
<field name="name">Crop Report</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">crop.report</field>
<field name="view_mode">form</field>
<field name="view_id" ref="crop_report_view_form"/>
<field name="target">new</field>
</record>
</odoo>