[FIX] lunch : YML for report corrected

bzr revid: ach@tinyerp.com-20100917132945-6yvjb6fahbeozmvu
This commit is contained in:
Anup (OpenERP) 2010-09-17 18:59:45 +05:30
parent b5d64dbd12
commit 4b1f284f90
1 changed files with 2 additions and 2 deletions

View File

@ -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)