Currently, the name of products of the type 'course' in SOL was missing due to the split by '\n' in name_get. So this commit fixes this issue and remove the \n if there is only one payment channel for course. task-2823432 closes odoo/odoo#93836 X-original-commit: 289c3219b7975ebee8748223a136e1d752da440f Related: odoo/enterprise#28499 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>