BooleanField('SamplingWorkflowEnabled', default_method='getSamplingWorkflowEnabledDefault' ), DateTimeField('DateSampled', mode="rw", read_permission=permissions.View, write_permission=SampleSample, widget = DateTimeWidget( label=_("Date Sampled"), size=20, visible={'edit': 'visible', 'view': 'visible', 'header_table': 'visible', 'sample_registered': {'view': 'invisible', 'edit': 'invisible'}, 'to_be_sampled': {'view': 'visible', 'edit': 'visible'}, 'sampled': {'view': 'visible', 'edit': 'invisible'}, 'to_be_preserved': {'view': 'visible', 'edit': 'invisible'}, 'sample_due': {'view': 'visible', 'edit': 'invisible'}, 'sample_received': {'view': 'visible', 'edit': 'invisible'}, 'expired': {'view': 'visible', 'edit': 'invisible'}, 'disposed': {'view': 'visible', 'edit': 'invisible'}, }, render_own_label=True, ), ), StringField('Sampler', mode="rw", read_permission=permissions.View, write_permission=SampleSample, vocabulary='getSamplers', widget=BikaSelectionWidget(
BooleanField('SamplingWorkflowEnabled', default_method='getSamplingWorkflowEnabledDefault' ), DateTimeField('DateSampled', mode="rw", read_permission=permissions.View, write_permission=SampleSample, widget = DateTimeWidget( label=_("Date Sampled"), size=20, visible={'edit': 'visible', 'view': 'visible', 'header_table': 'visible', 'sample_registered': {'view': 'invisible', 'edit': 'invisible'}, 'to_be_sampled': {'view': 'visible', 'edit': 'visible'}, 'scheduled_sampling': {'view': 'visible', 'edit': 'visible'}, 'sampled': {'view': 'visible', 'edit': 'invisible'}, 'to_be_preserved': {'view': 'visible', 'edit': 'invisible'}, 'sample_due': {'view': 'visible', 'edit': 'invisible'}, 'sample_received': {'view': 'visible', 'edit': 'invisible'}, 'expired': {'view': 'visible', 'edit': 'invisible'}, 'disposed': {'view': 'visible', 'edit': 'invisible'}, }, render_own_label=True, ), ), StringField('Sampler', mode="rw", read_permission=permissions.View, write_permission=SampleSample, vocabulary='getSamplers', widget=BikaSelectionWidget(
visible=False, catalog_name='bika_setup_catalog', base_query={'is_active': True}, showOn=True, ), ), BooleanField('SamplingWorkflowEnabled', default_method='getSamplingWorkflowEnabledDefault'), DateTimeField( 'DateSampled', mode="rw", read_permission=permissions.View, widget=DateTimeWidget( label=_("Date Sampled"), show_time=True, size=20, visible=False, render_own_label=True, ), ), StringField( 'Sampler', mode="rw", read_permission=permissions.View, vocabulary='getSamplers', widget=BikaSelectionWidget( format='select', label=_("Sampler"), visible=False, render_own_label=True, ),
base_query={'inactive_state': 'active'}, showOn=True, ), ), BooleanField('SamplingWorkflowEnabled', default_method='getSamplingWorkflowEnabledDefault'), DateTimeField( 'DateSampled', mode="rw", read_permission=permissions.View, write_permission=SampleSample, widget=DateTimeWidget( label=_("Date Sampled"), size=20, visible={ 'edit': 'visible', 'view': 'visible' }, render_own_label=True, ), ), StringField( 'Sampler', mode="rw", read_permission=permissions.View, write_permission=SampleSample, vocabulary='getSamplers', widget=BikaSelectionWidget( format='select', label=_("Sampler"), visible={