[Erp5-report] r17003 - /erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 15 14:41:18 CEST 2007
Author: vincent
Date: Mon Oct 15 14:41:17 2007
New Revision: 17003
URL: http://svn.erp5.org?rev=17003&view=rev
Log:
Add a method to change to another dialog in the same dialog category (using select_dialog field and its submit button).
Modified:
erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
Modified: erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py?rev=17003&r1=17002&r2=17003&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py (original)
+++ erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py Mon Oct 15 14:41:17 2007
@@ -379,6 +379,13 @@
"""
return self.doAction(submit_name='Base_edit:method')
+ def doDialogSelect(self, value):
+ """
+ Select given value of the select_dialog field and make mechanize reload
+ the dialog.
+ """
+ return self.doMenu(value, 'select_dialog', 'Base_doDialog:method')
+
def doDialogAction(self):
"""
Execute the dialog action.
More information about the Erp5-report
mailing list