Skip to content
Snippets Groups Projects
Commit 9d65d4d15c2e authored by Xavier Manach's avatar Xavier Manach
Browse files

Update : adapt to change from email_template from openobject-server

other def_body_html and def_body_text to change to body_html and body_text
parent 70ee8d4dcd84
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@
# here we need to use tracker so let's do it
tracker_base = context.get('tracker_base')
text = template.body_text
template.def_body_text, tracks = insert_tracker_in_text(
template.body_text, tracks = insert_tracker_in_text(
text, tracker_base, context['activity_id'])
trackitem = self.pool.get('marketing_campaign_tracker.trackitem')
......@@ -59,7 +59,7 @@
trackitem.create(cursor, user, trackvalues, context=None)
html = template.body_html
template.def_body_html, tracks = insert_tracker_in_html(
template.body_html, tracks = insert_tracker_in_html(
html, tracker_base, context['activity_id'])
for trackvalues in tracks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment