Exemple #1
0
 def get_issue_code_choices(self):
     """
     Returns the possible issue codes for the current symptom code
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'issue_codes-%s' % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Exemple #2
0
 def get_symptom_code_choices(self):
     """
     Returns the possible symptom codes for the current serial number
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'symptom_codes-%s' % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)
Exemple #3
0
 def get_issue_code_choices(self):
     """
     Returns the possible issue codes for the current symptom code
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = "issue_codes-%s" % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Exemple #4
0
 def get_symptom_code_choices(self):
     """
     Returns the possible symptom codes for the current serial number
     """
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = "symptom_codes-%s" % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)
Exemple #5
0
 def get_issue_code_choices(self):
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'issue_codes-%s' % self.symptom_code
     si = SymptomIssue(reportedSymptomCode=self.symptom_code)
     return cache_getset(ckey, si.fetch)
Exemple #6
0
 def get_symptom_code_choices(self):
     # @fixme: what if it's someone else ordering the part?
     self.gsx_account.connect(self.created_by)
     ckey = 'symptom_codes-%s' % self.device.sn
     si = SymptomIssue(serialNumber=self.device.sn)
     return cache_getset(ckey, si.fetch)