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

« back to all changes in this revision

Viewing changes to oecn_account_print/report/oecn_account_print_report.py

  • Committer: JoshuaJan
  • Date: 2012-08-21 09:08:01 UTC
  • Revision ID: popkar77@gmail.com-20120821090801-68vn1qjm8gyv2wi5
改变报表模版,添加表格线

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        res = {}
141
141
        res['product'] = ""
142
142
        res['partner'] = ""
143
 
        res['report_name'] = u'三栏式'
 
143
        res['report_name'] = u'三栏式明细账'
144
144
        if data.get('product', False):
145
145
            res['report_name'] = u'产品'
146
146
            res['product'] =data['product'][1]
147
147
        if data.get('partner', False):
148
 
            res['report_name'] = u'往来明细'
 
148
            res['report_name'] = u'往来明细账'
149
149
            res['partner'] = data['partner'][1]
150
150
        return res
151
151