Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Default followup email deleted - how do I set the default to a different template?

By
Miles Cantley
on 3/21/14, 11:37 AM 1,166 views

I accidentally deleted the email that was the default followup email template. When I now click the 'Send Overdue Email' button in the Payment Followup tab of the partner, I get the message:

ValueError: No such external ID currently defined in the system: account_followup.email_template_account_followup_default

How do I reset the default template to an existing template?

The full error message is:

Client Traceback (most recent call last): File "/str/openerp/server/openerp/addons/web/http.py", line 203, in dispatch response["result"] = method(self, *self.params) File "/str/openerp/server/openerp/addons/web/controllers/main.py", line 1133, in call_button action = self._call_kw(req, model, method, args, {}) File "/str/openerp/server/openerp/addons/web/controllers/main.py", line 1121, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/str/openerp/server/openerp/addons/web/session.py", line 43, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/str/openerp/server/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/str/openerp/server/openerp/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/str/openerp/server/openerp/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/str/openerp/server/openerp/netsvc.py", line 293, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/str/openerp/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/str/openerp/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/str/openerp/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/str/openerp/server/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/str/openerp/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr return fct_src(cr, uid, model, method, args, *kw) File "/str/openerp/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/str/openerp/server/openerp/addons/account_followup/account_followup.py", line 215, in do_partner_mail 'account_followup', 'email_template_account_followup_default') File "/str/openerp/server/openerp/tools/cache.py", line 18, in lookup r = self.lookup(self2, cr, *args) File "/str/openerp/server/openerp/tools/cache.py", line 46, in lookup value = d[key] = self.method(self2, cr, *args) File "/str/openerp/server/openerp/addons/base/ir/ir_model.py", line 869, in get_object_reference data_id = self._get_id(cr, uid, module, xml_id) File "/str/openerp/server/openerp/tools/cache.py", line 18, in lookup r = self.lookup(self2, cr, *args) File "/str/openerp/server/openerp/tools/cache.py", line 46, in lookup value = d[key] = self.method(self2, cr, *args) File "/str/openerp/server/openerp/addons/base/ir/ir_model.py", line 862, in _get_id raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id)) ValueError: No such external ID currently defined in the system: account_followup.email_template_account_followup_default

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/21/14, 11:37 AM
Seen: 1166 times
Last updated: 3/16/15, 8:10 AM