a guest Feb 13th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2019-02-13 14:49:17,915 21165 INFO odoo_10_db odoo.addons.mail.models.mail_template: Failed to render template <Template memory:7f1788707410> using values {'format_amount': <function <lambda> at 0x7f178869d9b0>, 'object': None, 'ctx': {'safe': False}, 'format_tz': <function <lambda> at 0x7f178869dde8>, 'user': res.users(1,), 'format_date': <function <lambda> at 0x7f178869d938>}
  2. Traceback (most recent call last):
  3.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/addons/mail/models/", line 394, in render_template
  4.     render_result = template.render(variables)
  5.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10-venv/lib/python2.7/site-packages/jinja2/", line 989, in render
  6.     return self.environment.handle_exception(exc_info, True)
  7.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10-venv/lib/python2.7/site-packages/jinja2/", line 754, in handle_exception
  8.     reraise(exc_type, exc_value, tb)
  9.   File "<template>", line 1, in top-level template code
  10.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10-venv/lib/python2.7/site-packages/jinja2/", line 392, in getattr
  11.     value = getattr(obj, attribute)
  12. UndefinedError: 'None' has no attribute 'user_id'
  13. 2019-02-13 14:49:17,916 21165 ERROR odoo_10_db Call of self.env[u'crm.lead']._check_crm_lead(*()) failed in Job #8
  14. Traceback (most recent call last):
  15.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/odoo/addons/base/ir/", line 126, in _callback
  16.     getattr(model, method_name)(*args)
  17.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/custom_addons/sale_cron/models/", line 38, in _check_crm_lead
  18.     template.send_mail(, force_send=True, raise_exception=True)
  19.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/addons/mail/models/", line 568, in send_mail
  20.     values = self.generate_email(res_id)
  21.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/addons/mail/models/", line 499, in generate_email
  22.     post_process=(field == 'body_html'))
  23.   File "/run/media/5d26ce11-0ec8-42e2-8811-f27302963988/odoo/odoo10/odoo/addons/mail/models/", line 397, in render_template
  24.     raise UserError(_("Failed to render template %r using values %r")% (template, variables))
  25. UserError: (u"Echec de rendu du mod\xe8le <Template memory:7f1788707410> utilisant les valeurs {'format_amount': <function <lambda> at 0x7f178869d9b0>, 'object': None, 'ctx': {'safe': False}, 'format_tz': <function <lambda> at 0x7f178869dde8>, 'user': res.users(1,), 'format_date': <function <lambda> at 0x7f178869d938>}", '')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand