From 2baf37ea6ce24fc15e57396a418f9c4c28852ef9 Mon Sep 17 00:00:00 2001 From: bosd <5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me> Date: Thu, 11 Jun 2026 09:03:01 +0200 Subject: [PATCH] [IMP] contract: redesign the PDF report with a meaningful filename --- contract/report/contract_views.xml | 3 ++ contract/report/report_contract.xml | 53 ++++++++++++++++------------- 2 files changed, 32 insertions(+), 24 deletions(-) diff --git a/contract/report/contract_views.xml b/contract/report/contract_views.xml index 167a616b30..9d76958bf4 100644 --- a/contract/report/contract_views.xml +++ b/contract/report/contract_views.xml @@ -6,6 +6,9 @@ qweb-pdf contract.report_contract_template contract.report_contract + 'Contract - %s' % (object.name or '').replace('/', '_') report diff --git a/contract/report/report_contract.xml b/contract/report/report_contract.xml index 226d608130..b510292a22 100644 --- a/contract/report/report_contract.xml +++ b/contract/report/report_contract.xml @@ -4,9 +4,6 @@ -

- Partner: -

-
-
- Responsible: -

- Contract: -

+

+ Contract + +

+
+
+ Reference: +

+

+
+ Date Start: +

+

+
+ Date End: +

+

+
+ Responsible: +

+

+
+ Payment Terms: +

-

- Recurring Items -

+

Recurring Items

@@ -119,9 +132,7 @@
-

- Modifications -

+

Modifications

@@ -169,15 +180,9 @@
-
-
-
- Notes: -
-
-
-

-

+
+

Notes

+