diff --git a/product/ERP5Form/FormulatorPatch.py b/product/ERP5Form/FormulatorPatch.py index f6110f9a3bb14f63c155d0f7fc28b76ac4514a80..00214543641097cfd2697c3cef77b2cc63013c67 100644 --- a/product/ERP5Form/FormulatorPatch.py +++ b/product/ERP5Form/FormulatorPatch.py @@ -1009,13 +1009,13 @@ def Patched_create_datetime_text_sub_form(): display_width=2, display_maxwidth=2, max_length=2) - timezone_field = ListField('timezone', - title = "Timezone", - required = 0, - default = 'GMT', - items = gmt_timezones, - size = 1) - sub_form.add_fields([hour, minute, ampm, timezone_field], "time") + timezone = ListField('timezone', + title = "Timezone", + required = 0, + default = 'GMT', + items = gmt_timezones, + size = 1) + sub_form.add_fields([hour, minute, ampm, timezone], "time") return sub_form def Patched_create_datetime_list_sub_form():