From ce0446c37ff032701317a85046c1a96b4bc48a1e Mon Sep 17 00:00:00 2001 From: oscar alvarez Date: Tue, 15 Aug 2023 08:45:28 -0500 Subject: [PATCH] Fix --- schedule.py | 3 +++ view/employee_form.xml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/schedule.py b/schedule.py index ca8e709..23d1751 100644 --- a/schedule.py +++ b/schedule.py @@ -109,6 +109,9 @@ class SurveillanceSchedule(Workflow, ModelSQL, ModelView): } }) + def get_rec_name(self, name): + return f'{self.location.name} | {self.period.name}' + @classmethod def get_calendar(cls, args): res = [] diff --git a/view/employee_form.xml b/view/employee_form.xml index 1f13add..9fd6165 100644 --- a/view/employee_form.xml +++ b/view/employee_form.xml @@ -8,8 +8,8 @@ this repository contains the full copyright notices and license terms. --> - - + +