361
361
Amt = etree.SubElement(CdtTrfTxInf, 'Amt')
362
362
InstdAmt = etree.SubElement(Amt, 'InstdAmt', Ccy=line.currency.name)
363
363
InstdAmt.text = '%.2f' % line.amount
365
365
if not (line.bank_id.bank_bic or line.bank_id.bank.bic):
366
366
raise osv.except_osv(_('Configuration Error!'),
367
367
_('Unsupported Payment Instruction in Payment Line %s.\n' \