Hello,
Sale -> configuration -> email tempaltes -> tree view -> preview template -> gives the bugs.
OpenERP Server Error
Client Traceback (most recent call last):
File "/home/tiny/sources/client-web/openerp-web/addons/web/common/http.py", line 176, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/tiny/sources/client-web/openerp-web/addons/web/controllers/main.py", line 994, in load
return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
File "/home/tiny/sources/client-web/openerp-web/addons/web/controllers/main.py", line 882, in fields_view_get
fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
File "/home/tiny/sources/client-web/openerp-web/addons/web/common/openerplib/main.py", line 430, in proxy
*args)
File "/home/tiny/sources/client-web/openerp-web/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/tiny/sources/client-web/openerp-web/addons/web/common/openerplib/main.py", line 130, in send
return getattr(service, method)(*args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Server Traceback (most recent call last):
File "/home/tiny/sources/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/tiny/sources/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/tiny/sources/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/tiny/sources/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/tiny/sources/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/tiny/sources/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 2114, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 1753, in __view_look_dom_arch
fields = self.fields_get(cr, user, None, context)
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 3286, in fields_get
res[f] = fields.field_to_dict(self, cr, user, field, context=context)
File "/home/tiny/sources/server/trunk/openerp/osv/fields.py", line 1384, in field_to_dict
res['selection'] = field.selection(model, cr, user, context)
File "/home/tiny/sources/addons/trunk/email_template/wizard/email_template_preview.py", line 43, in _get_records
template_object = template.model_id
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 476, in __getattr__
return self[name]
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 389, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 3345, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/tiny/sources/server/trunk/openerp/osv/orm.py", line 3404, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/tiny/sources/server/trunk/openerp/sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "/home/tiny/sources/server/trunk/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
ProgrammingError: column email_template.fetchmail_server_id does not exist
LINE 1: ...email_template."user_id",email_template."subtype",email_temp...
^
I have attached screenshot too.
Thanks,
Tejas - TTA