Found which template to extend to inject our new work order template into the front-end signature page. Now need to add the timesheets info with task tree into our template and we should be good to go. Fixes Dur-Pro/bemade-addons#94
18 lines
No EOL
797 B
XML
18 lines
No EOL
797 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<data>
|
|
<record id="industry_fsm_report.task_custom_report" model="ir.actions.report">
|
|
<field name="name">Work Order Report (PDF)</field>
|
|
<field name="report_name">bemade_fsm.work_order</field>
|
|
<field name="report_file">bemade_fsm.work_order</field>
|
|
<field name="print_report_name">'%s Work Order %s' % (
|
|
time.strftime('%Y-%m-%d'), object.name)</field>
|
|
<field name="report_type">qweb-html</field>
|
|
</record>
|
|
|
|
<!-- <record id="work_order_template" model="worksheet.template">-->
|
|
<!-- <field name="name">Basic Work Order</field>-->
|
|
<!-- <field name="res_model">project.task</field>-->
|
|
<!-- </record>-->
|
|
</data>
|
|
</odoo> |