How to disable field onchange function from custom model without delete the function from source code ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
2614
มุมมอง
Hello loay elhaj,
Please find code in Comment.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Try this,
class ClassName(models.Model):
_inherit = 'model_name'
#overwrite_Method
def onchange_method(self):
pass
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
ธ.ค. 20
|
3124 | ||
|
1
ต.ค. 23
|
2024 | ||
"Wrong value for %s: %r" % (self, value)
แก้ไขแล้ว
|
|
2
ต.ค. 23
|
2250 | |
|
2
ส.ค. 23
|
4264 | ||
|
4
ส.ค. 23
|
20594 |