[Erp5-report] r30784 - /erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 20 12:35:12 CET 2009
Author: tatuya
Date: Fri Nov 20 12:35:09 2009
New Revision: 30784
URL: http://svn.erp5.org?rev=30784&view=rev
Log:
Fix the way of field setting. Previous test was wrong.
Modified:
erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py
Modified: erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py?rev=30784&r1=30783&r2=30784&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py [utf8] Fri Nov 20 12:35:09 2009
@@ -1032,7 +1032,7 @@
foo2_view = custom.Foo2_view
foo2_view.manage_addField('your_report_box1', 'Your Report Box', 'ReportBox')
your_report_box1 = foo2_view.your_report_box1
- your_report_box1.report_method = 'FooReport_getReportSectionList'
+ your_report_box1._edit({'report_method':'FooReport_getReportSectionList'})
createZODBPythonScript(
self.portal.portal_skins.custom,
More information about the Erp5-report
mailing list