~openerp-chinese-team/openerp-china/openerp-china

« back to all changes in this revision

Viewing changes to oecn_account_print/report/rml_parse.py

  • Committer: JoshuaJan
  • Date: 2012-08-24 05:27:14 UTC
  • Revision ID: popkar77@gmail.com-20120824052714-az7x5huju9e4onb4
调整格式

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        else :
104
104
            amount = str(amount)
105
105
        if (amount == '0'):
106
 
             return ' '
 
106
            return ' '
107
107
        orig = amount
108
108
        new = re.sub("^(-?\d+)(\d{3})", "\g<1>'\g<2>", amount)
109
109
        if orig == new: