c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18152
[Bug 727875] Re: history() got an unexpected keyword argument 'subjec'
** 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 the OpenERP Project Group.
https://bugs.launchpad.net/bugs/727875
Title:
history() got an unexpected keyword argument 'subjec'
Status in OpenERP Modules (addons):
Fix Committed
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.
References