Commit 86df19c6 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Drop User Consumption HTML File from printout

  For now, we dont display Consumption details on invoice
parent 983b4d31
...@@ -3,12 +3,7 @@ ...@@ -3,12 +3,7 @@
price_renderer nocall:here/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_total_price/render_pdf; price_renderer nocall:here/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_total_price/render_pdf;
total_not_tax_price_list python: []; total_not_tax_price_list python: [];
movement_list python: context.getMovementList(portal_type=context.getPortalInvoiceMovementTypeList(), movement_list python: context.getMovementList(portal_type=context.getPortalInvoiceMovementTypeList(),
sort_on=[('int_index', 'ascending'), ('reference', 'ascending')]); sort_on=[('int_index', 'ascending'), ('reference', 'ascending')]);">
invoice_resource_document python: context.portal_catalog.getResultValue(
portal_type='User Consumption HTML File',
validation_state='shared',
follow_up_uid=context.getUid()
)">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Invoice</title> <title>Invoice</title>
...@@ -186,11 +181,6 @@ ...@@ -186,11 +181,6 @@
</table> </table>
</aside> </aside>
</tal:block> </tal:block>
<tal:block tal:condition="python: invoice_resource_document is not None">
<p class='line page-break'>&nbsp;</p>
<tal:block tal:content="structure python: invoice_resource_document.getData()">
</tal:block>
</tal:block>
</tal:block> </tal:block>
<p class='line'>&nbsp;</p> <p class='line'>&nbsp;</p>
<footer>Generated with ERP5 - Open Source ERP suite (erp5.nexedi.com)</footer> <footer>Generated with ERP5 - Open Source ERP suite (erp5.nexedi.com)</footer>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment