fixes to report templates for 17.0

This commit is contained in:
Marc Durepos 2024-03-21 12:19:27 -04:00
parent 3ee959cbe5
commit 2437920de1
2 changed files with 8 additions and 10 deletions

View file

@ -461,14 +461,12 @@
</t>
</t>
</template>
<!-- MD Commented out since this no longer matches the structure of industry_fsm at all -->
<!-- Make the front-end "Sign" page show our new template -->
<!-- <template id="portal_my_worksheet" -->
<!-- inherit_id="industry_fsm.portal_my_task"> -->
<!-- <xpath expr="//div[@t-call='industry_fsm.worksheet_custom_page']" -->
<!-- position="replace"> -->
<!-- <div t-call="bemade_fsm.work_order_page"/> -->
<!-- </xpath> -->
<!-- </template> -->
<template id="worksheet_custom"
inherit_id="industry_fsm_report.worksheet_custom">
<xpath expr="//t[@t-call='industry_fsm_report.worksheet_custom_page']"
position="replace">
<div t-call="bemade_fsm.work_order_page"/>
</xpath>
</template>
</data>
</odoo>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<record id="industry_fsm.task_custom_report" model="ir.actions.report">
<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>