how to hide a button when you pressed it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
4668
أدوات العرض
There are ways to do it. You can't do it directly with a function or something like that.
- If your button change the state of the record just write invisible when state=something
- If you are going to so something in other field with your button you can just make it invisible when that field is filled
- Or you can add an invisible bool field. The return of your button can be that boolean value: True. So if that boolean field is true you can add that attribute to your button.
There are tons of ways it depends waht are you doing with your button.
thAnks for your answer @grover.. :D
You're welcome.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
3
أكتوبر 25
|
3160 | ||
|
2
سبتمبر 25
|
805 | ||
|
2
سبتمبر 25
|
1632 | ||
|
1
يوليو 25
|
1245 | ||
|
2
يونيو 25
|
3657 |