shorttext

develop
Andreas Osim 2021-01-21 08:42:21 +01:00
parent ba52bcb5eb
commit 2904b67c19
1 changed files with 7 additions and 3 deletions

View File

@ -201,9 +201,13 @@
<br/> <br/>
</span> </span>
<span t-if="shorttext"> <span t-if="shorttext">
<strong>Kurztext:</strong> <span>
<span t-if="invoice_line.lot_id.short_text" t-field="invoice_line.lot_id.short_text"/> <strong>Kurztext:</strong>
<span t-if="not invoice_line.lot_id.short_text" t-field="invoice_line.name"/> t-if="invoice_line.lot_id.short_text" t-field="invoice_line.lot_id.short_text"
</span>
<span>
t-if="not invoice_line.lot_id.short_text" t-field="invoice_line.name"
</span>
</span> </span>
<span t-if="not shorttext"> <span t-if="not shorttext">
<span t-field="invoice_line.name"/> <span t-field="invoice_line.name"/>