diff --git a/template_facturae_3.2.1.xml b/template_facturae_3.2.1.xml index d5f0b13..e13cef9 100644 --- a/template_facturae_3.2.1.xml +++ b/template_facturae_3.2.1.xml @@ -255,7 +255,7 @@ - TransactionDate - Extensions #} - {{ line.description and line.description[:2500] or '' }} + {{ (line.description and line.description[:2500]) or (line.product and line.product.rec_name[:2500]) or '#'+line.id|string }} {{ line.quantity }} {{ UOM_CODE2TYPE.get(line.unit.symbol, '05') if line.unit else '05' }} {{ Currency.compute(invoice.currency, line.unit_price, euro) }}