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

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<odoo> <odoo>
<data> <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="name">Work Order Report (PDF)</field>
<field name="report_name">bemade_fsm.work_order</field> <field name="report_name">bemade_fsm.work_order</field>
<field name="report_file">bemade_fsm.work_order</field> <field name="report_file">bemade_fsm.work_order</field>