hi everybody, i what to show a button dynamic, if web_client is in edit model the button will display, in view model button will hide how to do ... thanks,
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
4888
Tampilan
try:
<button name="NAME" string="STRING" type="object" states="STATES" class="oe_edit_only" groups="GROUPS"/>
oe_edit_only will solve your problem.
Cheers
ok, Thank you very much
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to hide field depending on the username ?
Diselesaikan
|
|
4
Des 15
|
6429 | |
|
0
Nov 15
|
5344 | ||
How to hide form Edit button depends on field value?
Diselesaikan
|
|
4
Des 23
|
24213 | |
|
1
Jan 24
|
1870 | ||
|
1
Sep 23
|
2019 |