Subversion Repositories SmartDukaan

Rev

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

Rev 20740 Rev 20745
Line 11156... Line 11156...
11156
            buyerInfo.addressId = addressMapping.id
11156
            buyerInfo.addressId = addressMapping.id
11157
            buyerInfo.address = to_t_warehouse_address(addressMapping)
11157
            buyerInfo.address = to_t_warehouse_address(addressMapping)
11158
        else:
11158
        else:
11159
            return None
11159
            return None
11160
        return buyerInfo
11160
        return buyerInfo
-
 
11161
 
-
 
11162
 
-
 
11163
def get_cost_detail_for_logistics_txn_id(logisticsTxnId):
-
 
11164
    logisticCostDetail= ShipmentLogisticsCostDetail.get_by(logisticsTransactionId=logisticsTxnId)
-
 
11165
    if logisticCostDetail is None:
-
 
11166
        raise
-
 
11167
    return logisticCostDetail
-
 
11168
    
-
 
11169
 
-
 
11170
 
-
 
11171
 
11161
if __name__ == '__main__':
11172
if __name__ == '__main__':
11162
    pass
11173
    pass
11163
#    ordersmap = {'911319502886601':1544266,'911319502890314':1544266,'x911319502903141':1544269,'x911319502916655':1544269,'x911319502950985':1544269,'x911319502836309':1544269,'x911319502972369':1544269,'x911319502950860':1544269,'x911319502918313':1544269,
11174
#    ordersmap = {'911319502886601':1544266,'911319502890314':1544266,'x911319502903141':1544269,'x911319502916655':1544269,'x911319502950985':1544269,'x911319502836309':1544269,'x911319502972369':1544269,'x911319502950860':1544269,'x911319502918313':1544269,
11164
#                 'x911319502943436':1544269,'x911319502928056':1544269,'x911319502838263':1544269,'911319502794144':1544269,'x911319502821616':1544269,'x911319502974746':1544269,'x911319502821442':1544269,'x911319502903984':1544269,'x911319502820980':1544269,
11175
#                 'x911319502943436':1544269,'x911319502928056':1544269,'x911319502838263':1544269,'911319502794144':1544269,'x911319502821616':1544269,'x911319502974746':1544269,'x911319502821442':1544269,'x911319502903984':1544269,'x911319502820980':1544269,
11165
#                 'x911319502973102':1544269,'x911319502913009':1544269,'x911319502973979':1544269,'x911319502842729':1544269,'x911319502824784':1544269,'x911319502847249':1544269,'x911319502848387':1544269,'x911319502887021':1544269,'x911319502962634':1544269,
11176
#                 'x911319502973102':1544269,'x911319502913009':1544269,'x911319502973979':1544269,'x911319502842729':1544269,'x911319502824784':1544269,'x911319502847249':1544269,'x911319502848387':1544269,'x911319502887021':1544269,'x911319502962634':1544269,