Commit f49f0bea authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: improve Payment line title

parent 72f13040
...@@ -74,6 +74,7 @@ for index, line in enumerate(invoice_list): ...@@ -74,6 +74,7 @@ for index, line in enumerate(invoice_list):
if line.total_price: if line.total_price:
payment_transaction.newContent( payment_transaction.newContent(
id="receivable%s" % index, id="receivable%s" % index,
title="receivable%s - %s" % (index, line.getSourceReference()),
portal_type='Accounting Transaction Line', portal_type='Accounting Transaction Line',
source=line.node_relative_url, source=line.node_relative_url,
destination_value=getAccountForUse('payable'), destination_value=getAccountForUse('payable'),
......
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