removed cstr in get_server_fields return value
This commit is contained in:
parent
7b1a2dc89a
commit
ed9b078128
@ -53,7 +53,7 @@ class TransactionBase:
|
|||||||
'contact_email' : contact_email,
|
'contact_email' : contact_email,
|
||||||
'contact_mobile' : contact_mobile
|
'contact_mobile' : contact_mobile
|
||||||
}
|
}
|
||||||
return cstr(ret)
|
return ret
|
||||||
|
|
||||||
# Get Address Text
|
# Get Address Text
|
||||||
# -----------------------
|
# -----------------------
|
||||||
@ -125,7 +125,7 @@ class TransactionBase:
|
|||||||
'shipping_address_name' : details and details[0]['name'] or '',
|
'shipping_address_name' : details and details[0]['name'] or '',
|
||||||
'shipping_address' : address_display
|
'shipping_address' : address_display
|
||||||
}
|
}
|
||||||
return cstr(ret)
|
return ret
|
||||||
|
|
||||||
# Get Lead Details
|
# Get Lead Details
|
||||||
# -----------------------
|
# -----------------------
|
||||||
@ -144,7 +144,7 @@ class TransactionBase:
|
|||||||
'contact_mobile' : extract('mobile_no'),
|
'contact_mobile' : extract('mobile_no'),
|
||||||
'contact_email' : extract('email_id')
|
'contact_email' : extract('email_id')
|
||||||
}
|
}
|
||||||
return cstr(ret)
|
return ret
|
||||||
|
|
||||||
|
|
||||||
# Get Supplier Default Primary Address - first load
|
# Get Supplier Default Primary Address - first load
|
||||||
@ -162,7 +162,7 @@ class TransactionBase:
|
|||||||
'contact_mobile' : contact_mobile
|
'contact_mobile' : contact_mobile
|
||||||
}
|
}
|
||||||
ret.update(self.get_supplier_details(args['supplier']))
|
ret.update(self.get_supplier_details(args['supplier']))
|
||||||
return cstr(ret)
|
return ret
|
||||||
|
|
||||||
# Get Supplier Address
|
# Get Supplier Address
|
||||||
# -----------------------
|
# -----------------------
|
||||||
@ -178,7 +178,7 @@ class TransactionBase:
|
|||||||
'contact_email' : contact_email,
|
'contact_email' : contact_email,
|
||||||
'contact_mobile' : contact_mobile
|
'contact_mobile' : contact_mobile
|
||||||
}
|
}
|
||||||
return cstr(ret)
|
return ret
|
||||||
|
|
||||||
# Get Supplier Details
|
# Get Supplier Details
|
||||||
# -----------------------
|
# -----------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user