Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
365 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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  

Awatar
Odrzuć