[IMP]: Remove commented code.
authorrch-openerp <rch@tinyerp.com>
Wed, 1 Dec 2010 07:30:47 +0000 (13:00 +0530)
committerrch-openerp <rch@tinyerp.com>
Wed, 1 Dec 2010 07:30:47 +0000 (13:00 +0530)
bzr revid: rch@tinyerp.com-20101201073047-807u4aov4ev1p17l

addons/account/test/account_report.yml

index 67d1d85..2d240ed 100644 (file)
     if tools.config['test_report_directory']:
         file(os.path.join(tools.config['test_report_directory'], 'account-voucher-report.'+format), 'wb+').write(data)
 
-
-#-
-#  Demo data for Account tax code
-#-
-#  !record {model: account.tax.code, id: account_tax_code_0}:
-#    name : Tax Code Test
-#-
-# Print Tax Code entries report
-#- 
-#  !python {model: account.tax.code}: |
-#    import netsvc, tools, os
-#    (data, format) = netsvc.LocalService('report.account.tax.code.entries').create(cr, uid, [ref('account.account_tax_code_0')], {}, {})
-#    if tools.config['test_report_directory']:
-#        file(os.path.join(tools.config['test_report_directory'], 'account-tax-code-entries.'+format), 'wb+').write(data)
-
-#-
-#  Print Vat Declaration Report
-#-
-#   !python {model: account.tax.code}: |
-#    import netsvc, tools, os
-#    data_dict = {'model': 'ir.ui.menu', 'form': {'based_on': 'invoices','company_id':ref('base.main_company'),'periods':[]}}
-#   (data, format) = netsvc.LocalService('report.account.vat.declaration').create(cr, uid, [ref("account.account_tax_code0")], data_dict, {})
-#    if tools.config['test_report_directory']:
-#       file(os.path.join(tools.config['test_report_directory'], 'account-vat-declaration.'+format), 'wb+').write(data)
-
-#-
-#  In order to test the PDF reports defined on an invoice, we will print an invoice
-#-
-#  !python {model: account.invoice}: |
-#    import netsvc, tools, os
-#    (data, format) = netsvc.LocalService('report.account.invoice').create(cr, uid, [ref      ('account.test_invoice_1')], {}, {})
-#    if tools.config['test_report_directory']:
-#        file(os.path.join(tools.config['test_report_directory'], 'account-invoice.'+format), 'wb+').write(data)
-
 -
   Print the Aged Partner Balance Report
 -