As locations is a field, there  was no need for a get_location method. Also fixed the Partner.get_contact_locations method.