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
4021 Widoki

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. 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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 .

Powiązane posty Odpowiedzi Widoki Czynność
2
mar 18
4399
2
gru 19
2263
0
lis 18
2833
2
wrz 18
5515
1
kwi 18
3026