In Odoo 14, how can I make a field dynamically repeat what is typed in another field.
Having field A and field B, when typing in field A,
automatically in field B the information is dynamically repeated.
In Odoo 14, how can I make a field dynamically repeat what is typed in another field.
Having field A and field B, when typing in field A,
automatically in field B the information is dynamically repeated.
Hi,
You can achieve this using onchange function, or by making a compute field or by a related field.
Using a relate d field will be easier here.
Sample:
field_1 = fields.Char(string="Test")
field_2 = fields.Char(string="Test 2", related='field_1')
For Reference
Thanks
Thanks! but , We need it to be dynamic, character by character, similar to this JS example "https://codepen.io/burntcaramel/pen/YGJXAb"
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
0
mai 22
|
3853 | |||
|
1
févr. 22
|
5537 | |||
|
0
oct. 21
|
3283 | |||
|
1
mars 23
|
3704 | |||
|
0
avr. 22
|
3768 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.