Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
477 Weergaven

Hi dear Odoo'ers


some of our odoo online clients want to have a different display_name for the leads in the crm module.


In odoo.sh no problem, there we can override the compute_display_name function.


Is there a way to do the same in odoo online?

Avatar
Annuleer
Beste antwoord

Hi ,

On Odoo.sh, it's easy to override _compute_display_name, but in Odoo Online (SaaS), custom Python code isn’t allowed, so you can’t override that method directly.

That said, there are a one of ways you can work around it:

Use Odoo Studio (if enabled):

  1. Add a custom computed field to leads with whatever naming logic you need (e.g., combine company + contact).
  2. Then, update the kanban/list views to show this field instead of the default name. Visually, it does the trick!

  Hope it helps  

Avatar
Annuleer