Before, payment update action does not update partner_type column even if the in_out are changed. This commit fixed will also update partner_type on in_out changes.