[FIX] CRM : Mailgate script used default uid=3 instead of 1
authorJay (Open ERP) <jvo@tinyerp.com>
Mon, 14 Sep 2009 13:10:25 +0000 (18:40 +0530)
committerJay (Open ERP) <jvo@tinyerp.com>
Mon, 14 Sep 2009 13:10:25 +0000 (18:40 +0530)
lp bug: https://launchpad.net/bugs/429203 fixed

bzr revid: jvo@tinyerp.com-20090914131025-rcgolugvmp7v7ws1

addons/crm/scripts/openerp-mailgate/openerp-mailgate.py

index 11169a4..6901fde 100755 (executable)
@@ -309,7 +309,7 @@ if __name__ == '__main__':
         "with the Open ERP server for case management in the CRM module.")
     parser.add_option_group(group)
 
-    parser.add_option("-u", "--user", dest="userid", help="ID of the user in Open ERP", default=3, type='int')
+    parser.add_option("-u", "--user", dest="userid", help="ID of the user in Open ERP", default=1, type='int')
     parser.add_option("-p", "--password", dest="password", help="Password of the user in Open ERP", default='admin')
     parser.add_option("-e", "--email", dest="email", help="Email address used in the From field of outgoing messages")
     parser.add_option("-s", "--section", dest="section", help="ID or code of the case section", default="support")