history() got an unexpected keyword argument 'subjec'

Bug #727875 reported by Maxime Chambreuil (http://www.savoirfairelinux.com)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Maxime Chambreuil (http://www.savoirfairelinux.com)

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.

Related branches

tags: added: association events
Changed in openobject-addons:
assignee: nobody → Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903)
status: New → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
importance: Undecided → Low
milestone: none → 6.0.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.