Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5033 มุมมอง

Whenever The Lead Form Loaded , The User_id(Salesperson) Is Automatically Populated in Lead Form . My Requirement Is To Make Empty user_id Field When Ever The Lead Form Load . How To Achieve This

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Inherit the view definition and remove the fields you dont' require and see the changes

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can do it by inheriting the crm_lead module and make user_id as False in defaults. 

class crm_lead(osv.osv):
    _inherit = "crm.lead"
    _defaults = {
        'user_id': False,
    }

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4190
0
มิ.ย. 23
2122
1
เม.ย. 23
1549
2
ธ.ค. 19
15588
1
มิ.ย. 19
5099