Hello All, I want when the user set a value to the filed the system save it and when he create a new record the system suggest this value. any suggestion ? Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
5445
Tampilan
I have the same problem. In the ineger fields the default value is 0. If you try to set this to some other value, using the _defaults like so: _defaults = { 'account_id': None, }. You can set it to any value except for Null value. I guess this gets overriden with the javascript controll seting a value 0 if there is no value given by the server. Any ideas on this. Thank you.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Jun 25
|
315 | ||
How to use multi label switching interface in Odoo
Diselesaikan
|
|
1
Jun 25
|
629 | |
|
1
Jun 25
|
624 | ||
|
1
Mei 25
|
1188 | ||
|
0
Mar 25
|
672 |
Why do you want to do it with javascript? You can do it on openerp with defaults and a function that throws the last value inserted and that's all.
Please let me the function name. what i can put here _defaults = { 'my_field' : ???, }