diff --git a/addons/lunch/test/lunch_report.yml b/addons/lunch/test/lunch_report.yml index 76214dfb599..2043afe7796 100644 --- a/addons/lunch/test/lunch_report.yml +++ b/addons/lunch/test/lunch_report.yml @@ -1,8 +1,8 @@ - - In order to test the PDF reports defined on a lunch, we will print a lunch order + In order to test the PDF reports defined on a Lunch, we will print a Lunch Order Report - !python {model: lunch.order}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.lunch.order').create(cr, uid, [ref('lunch.lunch_order_0'),ref('lunch.lunch_order_1')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'lunch-lunch_order.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'lunch-lunch_order_report.'+format), 'wb+').write(data)