credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #01754
[Bug 906236] Re: bug with the email template previews form
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/906236
Title:
bug with the email template previews form
Status in OpenERP Addons (modules):
Confirmed
Bug description:
in a db without demo data, simplified inteface, tested in web (chrome)
go to Sales/Configuration/Miscellaneous/Email Templates, click on the template in order to go in page view, and click on "Preview template"
Client Traceback (most recent call last):
File "/home/aline/source/web/trunk/addons/web/common/http.py", line 176, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 835, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 831, in call_common
return getattr(req.session.model(model), method)(*args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 430, in proxy
*args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
raise fault
Server Traceback (most recent call last):
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/source/addons/trunk/email_template/wizard/email_template_preview.py", line 79, in on_change_res_id
model = template.model
AttributeError: 'bool' object has no attribute 'model'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/906236/+subscriptions
References