Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4460 Ansichten

Is there a way that when you edit values in fields, that when you click in a field, that it auto selects the content of that field? I need this on the many2one selection so that the user doesn't need to delete char by char or first select and then delete the value but to just start writing the new value and it deletes the the previous value. 

I really don't know how to explain this well, hope someone understands what I want and can tell me if it's possible or not. 

Avatar
Verwerfen
Beste Antwort

you can achieve this through the onchnage function, compute, or by setting default values.

go through this documentation.

https://odoo-new-api-guide-line.readthedocs.io/en/latest/decorator.html#api-depends

Avatar
Verwerfen
Autor

you didn't understand what I meant... it don't know how to properly explain. I know the decorators and they are not needed. it more of a view problem than a model. I want just the text be selected in the field like tripple clicking on the fields value .

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 18
4796
2
Dez. 19
3027
0
Nov. 18
3289
2
Sept. 18
5980
1
Apr. 18
3412