Subversion Repositories SmartDukaan

Rev

Rev 15673 | Rev 15676 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15673 Rev 15674
Line 1089... Line 1089...
1089
    obj.address = retailer.address_new if retailer.address_new is not None else retailer.address
1089
    obj.address = retailer.address_new if retailer.address_new is not None else retailer.address
1090
    obj.contact1 = None if len(otherContacts)==0 else otherContacts[0]
1090
    obj.contact1 = None if len(otherContacts)==0 else otherContacts[0]
1091
    if obj.contact1 is not None:
1091
    if obj.contact1 is not None:
1092
        obj.contact2 = None if len(otherContacts)==1 else otherContacts[1]
1092
        obj.contact2 = None if len(otherContacts)==1 else otherContacts[1]
1093
    obj.scheduled = (retailer.call_priority is not None)
1093
    obj.scheduled = (retailer.call_priority is not None)
-
 
1094
    obj.city = retailer.city
-
 
1095
    obj.state = retailer.state
-
 
1096
    obj.pin = retailer.pin 
1094
    obj.status = retailer.status
1097
    obj.status = retailer.status
1095
    if hasattr(retailer, 'contact'):
1098
    if hasattr(retailer, 'contact'):
1096
        obj.contact = retailer.contact
1099
        obj.contact = retailer.contact
1097
    if callType == 'onboarding':
1100
    if callType == 'onboarding':
1098
        try:
1101
        try: