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
ตอบกลับ
3017
มุมมอง
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
|
3752 | ||
|
|
1
ต.ค. 23
|
2634 | ||
|
"Wrong value for %s: %r" % (self, value)
แก้ไขแล้ว
|
|
2
ต.ค. 23
|
2874 | |
|
|
2
ส.ค. 23
|
5068 | ||
|
|
4
ส.ค. 23
|
21474 |