From dc438836b8cba3d3314519dc6f0adee66f5d450b Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Mon, 27 Aug 2007 12:49:26 +0000 Subject: [PATCH] Property renaming. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15827 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/DocumentPreference.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5/PropertySheet/DocumentPreference.py b/product/ERP5/PropertySheet/DocumentPreference.py index 8ce6930894..2ec90d676e 100644 --- a/product/ERP5/PropertySheet/DocumentPreference.py +++ b/product/ERP5/PropertySheet/DocumentPreference.py @@ -60,19 +60,19 @@ class DocumentPreference: { 'id' : 'preferred_document_ingestion_email_notification', 'description' : 'None - always, "always", "problem (only if problem), "never"', # XXX-JPS this is not a description 'type' : 'selection', - 'select_variable' : 'getDocumentIngestionEmailNotificationSelectionList', + 'select_variable' : 'getPreferredDocumentIngestionEmailNotificationSelectionList', 'preference' : 1, 'mode' : '' }, { 'id' : 'preferred_document_email_ingestion_address', 'description' : 'Email ingestion address', 'type' : 'string', 'preference' : 1, - 'mode' : '' }, + 'mode' : '' }, # XXX-JPS. This is not a real property - it is somehow a hack. # BG: I was advised by somebody from Nexedi (I think it was Jerome) - { 'id' : 'document_ingestion_email_notification_selection', + { 'id' : 'preferred_document_ingestion_email_notification_selection', 'description' : 'List of possible values for preferred_document_ingestion_email_notification', - 'type' : 'lines', + 'type' : 'tokens', 'default' : ['always','problem','never'], 'mode' : 'w'}, ) -- 2.30.9