← Back to team overview

openerp-community-reviewer team mailing list archive

Re: [Merge] lp:~camptocamp/account-financial-report/add_aged_partner_ledger-nbi into lp:account-financial-report

 

Review: Needs Fixing

the tests are red here



 TEST test_70 openerp.tools.yaml_import: In order to test the PDF General Ledger webkit wizard I will print report with default setting
 ERROR test_70 openerp.tools.yaml_import: (u'No period found', '')

2014-03-18 16:14:12,556 23281 ERROR test_70 openerp.modules.loading: module account_financial_report_webkit: an exception occurred in a test
Traceback (most recent call last):
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 83, in load_test
    _load_data(cr, module_name, idref, mode, 'test')
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 122, in _load_data
    tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 928, in yaml_import
    yaml_interpreter.process(yaml_string)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 864, in process
    self._process_node(node)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 877, in _process_node
    self.process_python(node)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 550, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/afayolle/work/oca/account-financial-reports/add_aged_partner_ledger-nbi/account_financial_report_webkit/tests/general_ledger.yml", line 5, in <module>
    ctx={}
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/test_reports.py", line 294, in try_report_action
    result = _exec_action(action, datas, context)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/test_reports.py", line 278, in _exec_action
    res = try_report(cr, uid, 'report.'+action['report_name'], ids, datas, context, our_module=our_module)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/test_reports.py", line 53, in try_report
    res = netsvc.LocalService(rname).create(cr, uid, ids, data, context)
  File "/home/afayolle/work/oerp/addons/7.0/report_webkit/webkit_report.py", line 340, in create
    result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/report/report_sxw.py", line 513, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/home/afayolle/work/oca/account-financial-reports/add_aged_partner_ledger-nbi/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 176, in create_single_pdf
    self.parser_instance.set_context(objs, data, ids, report_xml.report_type)
  File "/home/afayolle/work/oca/account-financial-reports/add_aged_partner_ledger-nbi/account_financial_report_webkit/report/general_ledger.py", line 90, in set_context
    start_period = self.get_first_fiscalyear_period(fiscalyear)
  File "/home/afayolle/work/oca/account-financial-reports/add_aged_partner_ledger-nbi/account_financial_report_webkit/report/common_reports.py", line 301, in get_first_fiscalyear_period
    return self._get_st_fiscalyear_period(fiscalyear)
  File "/home/afayolle/work/oca/account-financial-reports/add_aged_partner_ledger-nbi/account_financial_report_webkit/report/common_reports.py", line 315, in _get_st_fiscalyear_period
    raise osv.except_osv(_('No period found'), '')
except_osv: (u'No period found', '')
-- 
https://code.launchpad.net/~camptocamp/account-financial-report/add_aged_partner_ledger-nbi/+merge/211040
Your team Account Report Core Editors is subscribed to branch lp:account-financial-report.


References