Some banks don't allow multi-line values in XML

issue3880
review11261002
This commit is contained in:
Cédric Krier
2014-05-09 23:26:55 +02:00
parent 0bb1c9d73d
commit 7de1e7885d
4 changed files with 4 additions and 12 deletions
+1 -3
View File
@@ -43,9 +43,7 @@ this repository contains the full copyright notices and license terms. -->
<PmtInf py:for="key, payments in group.sepa_payments">
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>
${'true' if group.journal.sepa_batch_booking else 'false'}
</BtchBookg>
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
<NbOfTxs>${len(payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
<PmtTpInf>
+1 -3
View File
@@ -24,9 +24,7 @@ this repository contains the full copyright notices and license terms. -->
<PmtInf py:for="key, payments in group.sepa_payments">
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>
${'true' if group.journal.sepa_batch_booking else 'false'}
</BtchBookg>
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
<NbOfTxs>${len(payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
<PmtTpInf>
+1 -3
View File
@@ -43,9 +43,7 @@ this repository contains the full copyright notices and license terms. -->
<PmtInf py:for="key, payments in group.sepa_payments">
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>
${'true' if group.journal.sepa_batch_booking else 'false'}
</BtchBookg>
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
<NbOfTxs>${len(payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
<PmtTpInf>
+1 -3
View File
@@ -24,9 +24,7 @@ this repository contains the full copyright notices and license terms. -->
<PmtInf py:for="key, payments in group.sepa_payments">
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>
${'true' if group.journal.sepa_batch_booking else 'false'}
</BtchBookg>
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
<NbOfTxs>${len(payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
<PmtTpInf>