Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
86df19c6
Commit
86df19c6
authored
Jun 07, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: Drop User Consumption HTML File from printout
For now, we dont display Consumption details on invoice
parent
983b4d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SaleInvoiceTransaction_viewSlapOSPrintout.zpt
..._accounting/SaleInvoiceTransaction_viewSlapOSPrintout.zpt
+1
-11
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SaleInvoiceTransaction_viewSlapOSPrintout.zpt
View file @
86df19c6
...
@@ -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'
>
</p>
<tal:block
tal:content=
"structure python: invoice_resource_document.getData()"
>
</tal:block>
</tal:block>
</tal:block>
</tal:block>
<p
class=
'line'
>
</p>
<p
class=
'line'
>
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment