تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5036 أدوات العرض

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,
    }

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
4198
0
يونيو 23
2124
1
أبريل 23
1553
2
ديسمبر 19
15588
1
يونيو 19
5100