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. --> - - + +