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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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"
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
toukok. 22
|
2225 | ||
|
1
helmik. 22
|
3998 | ||
|
0
lokak. 21
|
1897 | ||
|
1
maalisk. 23
|
2312 | ||
|
0
huhtik. 22
|
2379 |