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.
 
 
 
 
 

48 lines
2.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Form view of scrap management report-->
<record id="scrap_management_report_view_form" model="ir.ui.view">
<field name="name">scrap.management.report.view.form</field>
<field name="model">scrap.management.report</field>
<field name="arch" type="xml">
<form string="Scrap Management Report">
<group>
<group>
<field name="filter" widget="radio"/>
</group>
<group>
<field name="product_ids"
widget="many2many_tags"
invisible="filter == 'state_wise'"/>
<field name="state"
invisible="filter == 'product_wise'"/>
</group>
<group>
<field name="from_date"/>
</group>
<group>
<field name="to_date"/>
</group>
<group>
<footer>
<button name="action_print_pdf" string="Print pdf"
type="object" class="oe_highlight"/>
</footer>
</group>
</group>
</form>
</field>
</record>
<!-- Action and menu of scrap management report-->
<record id="scrap_management_report_action" model="ir.actions.act_window">
<field name="name">Scrap Management Report</field>
<field name="res_model">scrap.management.report</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem id="scrap_management_report_menu"
name="Scrap Management Report"
action="scrap_management_report_action"
parent="stock.menu_warehouse_report" sequence="5"/>
</odoo>