Skip to content

Commit

Permalink
fieldservice: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
hparfr committed Mar 16, 2021
1 parent 179277d commit 1dcd1ab
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fieldservice/models/fsm_person.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")])
Expand Down

0 comments on commit 1dcd1ab

Please sign in to comment.