Browse Source

Fix references to demo data in tests

pull/7/merge
unknown 11 years ago
committed by Yannick Vaucher
parent
commit
167bf476f0
  1. 2
      account_financial_report_webkit/__openerp__.py
  2. 2
      account_financial_report_webkit/tests/open_invoices.yml
  3. 2
      account_financial_report_webkit/tests/partner_ledger.yml

2
account_financial_report_webkit/__openerp__.py

@ -126,7 +126,7 @@ an issue in wkhtmltopdf
the header and footer are created as text with arguments passed to
wkhtmltopdf. The texts are defined inside the report classes.
""",
'version': '1.0.1',
'version': '1.0.2',
'author': 'Camptocamp',
'license': 'AGPL-3',
'category': 'Finance',

2
account_financial_report_webkit/tests/open_invoices.yml

@ -29,7 +29,7 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'partner_ids': [ref('base.res_partner_agrolait'), ref('base.res_partner_asus')]}
'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')]}
from tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_open_invoices_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')

2
account_financial_report_webkit/tests/partner_ledger.yml

@ -29,7 +29,7 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'partner_ids': [ref('base.res_partner_agrolait'), ref('base.res_partner_asus')]}
'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')]}
from tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_partners_ledger_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')

Loading…
Cancel
Save