[FIX] event: translate templates into user language
authorMartin Trigaux <mat@openerp.com>
Fri, 19 Sep 2014 09:06:17 +0000 (11:06 +0200)
committerMartin Trigaux <mat@openerp.com>
Fri, 19 Sep 2014 09:07:04 +0000 (11:07 +0200)
commitbcc08ee4227048e05089bac2d5b8e1d5539db82c
tree83cd7769e8aeb2ed4cb06a17eaa9a3882de1812e
parenta218a9ed3f6c965820f2ebdf76ee0e6c89c59a0c
[FIX] event: translate templates into user language

When sending an email of the registration/confirmation, the context was lost and the tempate sticked in en_US.
With the patch, the template will use the current user's language.
addons/event/event.py