** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  in send invitation wizard, could not send mail

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Tools > Surveys > Define Surverys > surveys > select any record > in
  form view > send invitation(wizard) > send

  in survey_send_invitation.py file res.user's object try to search
  address_id in res.users and address_id field is not exist in res.users
  due to this reason it generates following Traceback

  Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in 
wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in 
execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in 
execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File 
"/home/han/rdtool/addons/trunk/survey/wizard/survey_send_invitation.py", line 
164, in action_send
      user_id = user_ref.search(cr, uid, [('address_id', '=', addr.id)])
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 2205, in 
search
      return self._search(cr, user, args, offset=offset, limit=limit, 
order=order, context=context, count=count)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 4421, in 
_search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 4270, in 
_where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/han/rdtool/server/trunk/openerp/osv/expression.py", line 358, 
in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/han/rdtool/server/trunk/openerp/osv/expression.py", line 454, 
in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'address_id' in domain expression ['&', ('active', 
'=', 1), ('address_id', '=', 13)]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/869991/+subscriptions

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

Reply via email to