Files
account-financial-tools/account_credit_control/report/credit_control_summary.html.mako

23 lines
614 B
Mako

<html>
<head>
<style type="text/css">
${css}
</style>
</head>
<body>
%for comm in objects :
<%
setLang(comm.partner_id.lang)
current_uri = '%s_policy_template' % (comm.partner_id.lang)
if not context.lookup.has_template(current_uri):
context.lookup.put_string(current_uri, comm.current_policy_level.email_template_id.body_html)
%>
<%include file="${current_uri}" args="object=comm,user=user,ctx=ctx,quote=quote,format_exception=format_exception,mode='pdf'"/>
<p style="page-break-after:always"></p>
%endfor
</body>
</html>