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.
41 lines
1.8 KiB
41 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<!-- Server action to print sale order excel report-->
|
|
<record id="action_print_sale_order_excel_report"
|
|
model="ir.actions.server">
|
|
<field name="name">Sale Order Excel Report</field>
|
|
<field name="model_id" ref="model_sale_order"/>
|
|
<field name="binding_model_id" ref="model_sale_order"/>
|
|
<field name="binding_view_types">list</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
action = record.print_excel_report()
|
|
</field>
|
|
</record>
|
|
<!-- Server action to print invoice excel report-->
|
|
<record id="action_print_invoice_excel_report"
|
|
model="ir.actions.server">
|
|
<field name="name">Account Invoice Excel Report</field>
|
|
<field name="model_id" ref="model_account_move"/>
|
|
<field name="binding_model_id" ref="model_account_move"/>
|
|
<field name="binding_view_types">list</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
action = record.print_excel_report()
|
|
</field>
|
|
</record>
|
|
<!-- Server action to print transfer excel report-->
|
|
<record id="action_print_picking_excel_report"
|
|
model="ir.actions.server">
|
|
<field name="name">Picking Excel Report</field>
|
|
<field name="model_id" ref="model_stock_picking"/>
|
|
<field name="binding_model_id" ref="model_stock_picking"/>
|
|
<field name="binding_view_types">list</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
action = record.print_excel_report()
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|