← Back to team overview

openerp-india team mailing list archive

[Bug 1212190] Re: [Trunk] can't able to send email from reply button

 

Hello,

I have Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1212190-jar
Revision ID: jar@xxxxxxxxxxx-20130917101913-16yhx8j1hbqydbju
revision no :- 8902

Thanks,
Jaydeep Barot.

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

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1212190

Title:
   [Trunk] can't able to send email from reply button

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  To reproduce the bug on runbot go to settings -> Technical -> Email ->
  Emails -> click to reply button then generate error

  Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/web/http.py", line 314, in dispatch
      response["result"] = self._call_function(**self.params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/web/http.py", line 174, in _call_function
      return self.func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/web/http.py", line 1048, in nfunc
      return func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/web/controllers/main.py", line 1091, in call_kw
      return self._call_kw(model, method, args, kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/web/controllers/main.py", line 1083, in _call_kw
      return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/mail/wizard/mail_compose_message.py", line 84, in default_get
      vals = self.get_message_data(cr, uid, message_id, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/addons/mail/wizard/mail_compose_message.py", line 209, in get_message_data
      reply_subject = tools.ustr(message_data.subject or message_data.record_name or '')
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/osv/orm.py", line 484, in __getattr__
      return self[name]
    File "/home/odoo/runbot/static/openerp-dev-trunk-17472/server/openerp/osv/orm.py", line 419, in __getitem__
      raise KeyError('Field %s not found in %s'%(name, self))
  AttributeError: Got KeyError('Field subject not found in browse_record(mail.message, 130)',) while trying to get attribute subject on a mail.message record.

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


References