Amit Parmar (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-config-clean-menutip_incomming_mail_server_setup-aar
 into lp:~openerp-dev/openobject-addons/trunk-config-clean.

Requested reviews:
  Amit (Open ERP) (apa-tiny)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-config-clean-menutip_incomming_mail_server_setup-aar/+merge/79372

Hello Sir,

    I have made changes to default value of object_id field of fetch_mail model.
    Now the field object_id in the configure mail server is completed by 
default if you
    trigger the wizard from 
        Create Applicants from Email Account (object : hr.applicant)
        Create Issues from Email Account (object : project.ussue)  
        Create Leads from Email Account   (object : crm.lead)
        Create Claims from Email Account  (object : crm.claim)
Thanks,
Amit Parmar
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-config-clean-menutip_incomming_mail_server_setup-aar/+merge/79372
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-config-clean.
=== modified file 'fetchmail/fetchmail.py'
--- fetchmail/fetchmail.py	2011-10-11 14:03:35 +0000
+++ fetchmail/fetchmail.py	2011-10-14 07:37:24 +0000
@@ -88,6 +88,7 @@
         'priority': 5,
         'attach': True,
         'script': '/mail/static/scripts/openerp_mailgate.py',
+        'object_id': lambda self,cr,uid,c: self.pool.get('ir.model').search(cr, uid, [('model','=',c.get('fetchmail_model'))])[0],
     }
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to