From 1dcd1abb89a0588b977d9cc87d8c12a35d5931bf Mon Sep 17 00:00:00 2001 From: hparfr Date: Tue, 16 Mar 2021 16:01:44 +0100 Subject: [PATCH] fieldservice: remove dead code --- fieldservice/models/fsm_person.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fieldservice/models/fsm_person.py b/fieldservice/models/fsm_person.py index 4b4d17a2ef..d1ea7205aa 100644 --- a/fieldservice/models/fsm_person.py +++ b/fieldservice/models/fsm_person.py @@ -89,14 +89,6 @@ def create(self, vals): vals.update({"fsm_person": True}) return super(FSMPerson, self).create(vals) - def get_person_information(self, vals): - # get person ids - person_ids = self.search([("id", "!=", 0), ("active", "=", True)]) - person_information_dict = [] - for person in person_ids: - person_information_dict.append({"id": person.id, "name": person.name}) - return person_information_dict - @api.model def _read_group_stage_ids(self, stages, domain, order): stage_ids = self.env["fsm.stage"].search([("stage_type", "=", "worker")])