'This function returns value of  product\'s member price based on product id.'

@api.onchange('product_id')
def onchange_product(self):

    price_dict = self.product_id.price_compute('list_price')
    self.member_price = (price_dict.get(self.product_id.id) or False)
