bvr adherent number is padded to 27 digits in place of 26

bzr revid: bch-9f52c85d8770ce1587b9913a546f99ebc095b247
This commit is contained in:
bch 2007-03-01 16:00:40 +00:00
parent c4c46bdd5a
commit e98a3afda8
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class account_invoice_bvr(report_sxw.rml_parse):
res = ''
if bank.bvr_adherent_num:
res = bank.bvr_adherent_num
return self._mod10r(res+o.number.rjust(26-len(res), '0'))
return self._mod10r(res+o.number.rjust(27-len(res), '0'))
def _mod10r(self,nbr):
"""