openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17949
[Bug 1070372] Re: [Trunk] Email_template: Using 'save as template' crash, at least in the Inbox
This bug is fixed in trunk, as it seems not to happen anymore in rev
8073.
Thibault.
** Changed in: openobject-addons
Status: Confirmed => Fix Released
** Tags added: mail
--
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/1070372
Title:
[Trunk] Email_template: Using 'save as template' crash, at least in
the Inbox
Status in OpenERP Addons (modules):
Fix Released
Bug description:
[Trunk] Email_template: Using 'save as template' crash, at least in
the Inbox
Steps :
- install mail
- install email_template
- click on 'Write', near the topbar avatar
- type something, click on 'Save as template'
- enjoy
Server Traceback (most recent call last):
File "/home/openerp/workspace/openerp-dev/web/trunk/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/service/web_services.py", line 585, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/osv.py", line 168, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/osv.py", line 177, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/osv.py", line 165, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/workspace/openerp-dev/addons/trunk-mail-concreting-tde/email_template/wizard/mail_compose_message.py", line 139, in save_as_template
record.write({'template_id': template_id, 'use_template': True})
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/orm.py", line 375, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/orm.py", line 4094, in write
self._check_selection_field_value(cr, user, field, vals[field], context=context)
File "/home/openerp/workspace/openerp-dev/server/trunk/openerp/osv/orm.py", line 2821, in _check_selection_field_value
_('The value "%s" for the field "%s.%s" is not in the selection') % (value, self._table, field))
except_orm: (u'ValidateError', u'The value "3" for the field "mail_compose_message.template_id" is not in the selection')
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1070372/+subscriptions
References