~openerp-canada/openerp-canada/7.0-fix-1190823

« back to all changes in this revision

Viewing changes to l10n_ca_account_check_writing/report/l10n_ca_check_print.py

[MRG] Fixed bug 1178696

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
            'fill_stars' : self.fill_stars,
36
36
        })
37
37
    def fill_stars(self, amount):
38
 
        amount = amount.replace('Dollars','')
39
 
        if len(amount) < 100:
 
38
        #amount = amount.replace('Dollars','')
 
39
        if len(amount) < 90:
40
40
            stars = 100 - len(amount)
41
41
            return ' '.join([amount,'*'*stars])
42
42