From a84b9d926a7cc9e4a8faa176c2809b6d5161455f Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Fri, 4 Aug 2023 15:31:10 -0400 Subject: [PATCH] bemade_fsm: Got the "Sign Report" functionality working. 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 --- .../worksheet_custom_report_templates.xml | 41 +++++++++++++++++-- .../reports/worksheet_custom_reports.xml | 8 +++- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/bemade_fsm/reports/worksheet_custom_report_templates.xml b/bemade_fsm/reports/worksheet_custom_report_templates.xml index 8606cba..d9d4ca7 100644 --- a/bemade_fsm/reports/worksheet_custom_report_templates.xml +++ b/bemade_fsm/reports/worksheet_custom_report_templates.xml @@ -25,9 +25,6 @@ }'/> -
- Company: -
@@ -172,6 +169,37 @@ +
+ +
+ + Signed + +
+ +
+
Signature
+
+ +
+
@@ -185,5 +213,12 @@
+ \ No newline at end of file diff --git a/bemade_fsm/reports/worksheet_custom_reports.xml b/bemade_fsm/reports/worksheet_custom_reports.xml index bd39fb9..6def039 100644 --- a/bemade_fsm/reports/worksheet_custom_reports.xml +++ b/bemade_fsm/reports/worksheet_custom_reports.xml @@ -5,8 +5,14 @@ Work Order Report (PDF) bemade_fsm.work_order bemade_fsm.work_order - '%s Work Order %s' % (time.strftime('%Y-%m-%d'), object.name) + '%s Work Order %s' % ( + time.strftime('%Y-%m-%d'), object.name) qweb-html + + + + + \ No newline at end of file