[IMP] web_editor: css regular spacing between <p> to avoid bad layout

for email previews (e.g. sale order)
[IMP] improved email template for SO, with added signature
This commit is contained in:
Fabien Pinckaers
2016-07-17 01:02:06 +02:00
parent 5b4d247674
commit 9fbe082b2b
2 changed files with 3 additions and 3 deletions
+3 -1
View File
@@ -19,7 +19,6 @@
% set is_online = access_action and access_action['type'] == 'ir.actions.act_url'
% set access_name = is_online and object.template_id and 'Accept and pay %s online' % doc_name or 'View %s' % doc_name
% set access_url = is_online and access_action['url'] or object.get_signup_url()
<p>Dear
% if object.partner_id.is_company and object.child_ids:
${object.partner_id.child_ids[0].name}
@@ -41,6 +40,9 @@ from ${object.company_id.name}.
</p>
<p>If you have any question, do not hesitate to contact us.</p>
<p>Best regards,</p>
% if object.user_id and object.user_id.signature:
${object.user_id.signature | safe}
% endif
]]></field>
</record>
@@ -6,9 +6,7 @@
line-height: initial !important;
color: initial !important;
p {
margin: initial;
font-family: 'Lucida Grande', Helvetica, Verdana, Arial, sans-serif;
-webkit-margin-before: 0;
font-size: 13px;
}
a, a:hover {