Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
257 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit