Exemplo n.º 1
0
 def getDivergenceList(self):
   """Returns a list of messages that contains the divergences for that line
   and the cells it may contain.
   """
   if self.hasCellContent():
     divergence_list = []
     for cell in self.objectValues(portal_type=self.getPortalObject()
         .getPortalDeliveryMovementTypeList()):
       divergence_list += cell.getDivergenceList()
     return divergence_list
   else:
     return Movement.getDivergenceList(self)
Exemplo n.º 2
0
 def getDivergenceList(self):
   """Returns a list of messages that contains the divergences for that line
   and the cells it may contain.
   """
   divergence_list = []
   if self.hasCellContent():
     for cell in self.contentValues(filter={
             'portal_type': self.getPortalDeliveryMovementTypeList()}):
       divergence_list.extend(cell.getDivergenceList())
     return divergence_list
   else:
     return Movement.getDivergenceList(self)
Exemplo n.º 3
0
 def getDivergenceList(self):
   """Returns a list of messages that contains the divergences for that line
   and the cells it may contain.
   """
   divergence_list = []
   if self.hasCellContent():
     for cell in self.contentValues(filter={
             'portal_type': self.getPortalDeliveryMovementTypeList()}):
       divergence_list.extend(cell.getDivergenceList())
     return divergence_list
   else:
     return Movement.getDivergenceList(self)