Commit 7f900f85 authored by Romain Courteaud's avatar Romain Courteaud

field is already a method parameter


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14885 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cddf8f42
......@@ -292,9 +292,8 @@ class PlanningBoxValidator(Validator.StringBaseValidator):
update_list = []
errors_list = []
# getting start & stop property names
# XXX Isn't field enough ?
start_property = widget_instance.basic.field.get_value('x_start_bloc')
stop_property = widget_instance.basic.field.get_value('x_stop_bloc')
start_property = field.get_value('x_start_bloc')
stop_property = field.get_value('x_stop_bloc')
# getting round_script if exists
round_script=getattr(here, field.get_value('round_script'), None)
# now processing activity updates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment