I've been stucked with the server action. I've managed to display it but unable to print a pdf report. Any idea how to do this? this is my code.
<record id="action_order_label_work_order" model="ir.actions.server">
/> <field name="name">Order Label</field>
<field name="model_id" ref="mrp.model_mrp_workorder" />
<field name="binding_model_id" ref="mrp.model_mrp_workorder" />
<field name="state">code</field>
<field name="code">
</field>
</record>