L10N_CH: fix compatibility to python2.3 with rjust
bzr revid: ced-8b7903826dae4b9193cdf397b3d5af9a128e5e40
This commit is contained in:
parent
e653d75d2c
commit
98f60d06ab
|
@ -483,7 +483,7 @@ def _create_dta(self,cr,uid,data,context):
|
|||
v['invoice_reference']= i.reference
|
||||
v['invoice_bvr_num']= i.bvr_ref_num
|
||||
if v['invoice_bvr_num']:
|
||||
v['invoice_bvr_num'] = v['invoice_bvr_num'].rjust(27,'0')
|
||||
v['invoice_bvr_num'] = v['invoice_bvr_num'].replace(' ', '').rjust(27).replace(' ','0')
|
||||
|
||||
v['partner_comment']= i.partner_comment
|
||||
|
||||
|
|
Loading…
Reference in New Issue