← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 718918] Re: [6.0] mailgate - missing method

 

I just tried it again using crm.helpdesk - it works - no idea why this
was not the case before

 using option  -o with ID does not work / find the model

    parser.add_option("-o", "--model", dest="model", help="Name or ID of
crm model", default="crm.lead")

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/718918

Title:
  [6.0] mailgate - missing method

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  I tried both with id of crm.lead and crm.helpdesk in the 
   -o 
  option

  2011-02-14 19:43:15,337][chricar6] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/addons/mail_gateway/mail_gateway.py", line 562, in process_email
      new_res_id, attachment_ids = create_record(msg)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/addons/mail_gateway/mail_gateway.py", line 425, in create_record
      res_id = model_pool.create(cr, uid, data, context=context)
  AttributeError: 'NoneType' object has no attribute 'create'
  [2011-02-14 19:43:15,338][chricar6] DEBUG:http:MultiHttpHandler init for ('127.0.0.1', 57591)





References