예제 #1
0
 def test_get_party_shipping_address2(self):
     address = get_party_shipping_address("Customer", "_Test Customer 2")
     self.assertEqual(address, "_Test Shipping Address 2 Title-Shipping")
예제 #2
0
 def test_get_party_shipping_address2(self):
     address = get_party_shipping_address('Customer', '_Test Customer 2')
     self.assertEqual(address, '_Test Shipping Address 2 Title-Shipping')
예제 #3
0
파일: shipment.py 프로젝트: giangdn/teama
def get_address_name(ref_doctype, docname):
    # Return address name
    return get_party_shipping_address(ref_doctype, docname)
예제 #4
0
	def test_get_party_shipping_address2(self):
		address = get_party_shipping_address('Customer', '_Test Customer 2')
		self.assertEqual(address, '_Test Shipping Address 2 Title-Shipping')