Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1872 Vizualizări

Hello,


how is it possible to add custom value in the context when i click on the New button to create a partner for example ?

Looking for that since several days but not possible to find any solution!

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Vincent DUBREIL

https://www.odoo.com/forum/help-1/how-to-pass-values-in-lead-to-sales-through-action-button-118177

Thanks

Imagine profil
Abandonează
Autor

Hi Nikhil,
Thank you for your answer but this is the problem.
Button "New" in top of tree view or kanban view are not action buttons

Cel mai bun răspuns

 you can use default_get() method to set default value or _get_view() for view level changes

Imagine profil
Abandonează