diff --git a/addons/account/data/email_template_data_invoice.xml b/addons/account/data/email_template_data_invoice.xml
index b4619e38160..94a9be1cb77 100644
--- a/addons/account/data/email_template_data_invoice.xml
+++ b/addons/account/data/email_template_data_invoice.xml
@@ -32,7 +32,7 @@ invoice ${object.number}
pro-forma invoice
% endif
% if object.origin:
-(with reference: ${object.origin} )
+(with reference: ${object.origin})
% endif
amounting in ${object.amount_total} ${object.currency_id.name}
from ${object.company_id.name}.