← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727875] [NEW] history() got an unexpected keyword argument 'subjec'

 

Public bug reported:

Using server, web and addons from trunk with demo data on Ubuntu 10.10,
I installed the events module.

I changed the "Bon Jovi concert" to send registration and confirmation
emails.

Then, I register a partner with a contact and an email address to the
event. Email is sent, no problem.

When I click to confirm the registration, I have an error message :

Traceback (most recent call last):
  File "/home/max/openerp/server/trunk/openerp/netsvc.py", line 410, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/max/openerp/server/trunk/openerp/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/max/openerp/addons/trunk/event/event.py", line 464, in check_confirm
    self.do_open(cr, uid, [registration.id], context=context)
  File "/home/max/openerp/addons/trunk/event/event.py", line 431, in do_open
    self.mail_user(cr, uid, ids)
  File "/home/max/openerp/addons/trunk/event/event.py", line 552, in mail_user
    email_cc=', '.join(email_cc))
TypeError: history() got an unexpected keyword argument 'subjec'

and the email is not sent.

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: association events

** Tags added: association events

-- 
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/727875

Title:
  history() got an unexpected keyword argument 'subjec'

Status in OpenERP Modules (addons):
  New

Bug description:
  Using server, web and addons from trunk with demo data on Ubuntu
  10.10, I installed the events module.

  I changed the "Bon Jovi concert" to send registration and confirmation
  emails.

  Then, I register a partner with a contact and an email address to the
  event. Email is sent, no problem.

  When I click to confirm the registration, I have an error message :

  Traceback (most recent call last):
    File "/home/max/openerp/server/trunk/openerp/netsvc.py", line 410, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/max/openerp/server/trunk/openerp/service/web_services.py", line 598, in dispatch
      res = fn(db, uid, *params)
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/max/openerp/addons/trunk/event/event.py", line 464, in check_confirm
      self.do_open(cr, uid, [registration.id], context=context)
    File "/home/max/openerp/addons/trunk/event/event.py", line 431, in do_open
      self.mail_user(cr, uid, ids)
    File "/home/max/openerp/addons/trunk/event/event.py", line 552, in mail_user
      email_cc=', '.join(email_cc))
  TypeError: history() got an unexpected keyword argument 'subjec'

  and the email is not sent.



Follow ups

References