diff --git a/product/ERP5Form/__init__.py b/product/ERP5Form/__init__.py index c7dc0cb4ddab4fc211e1a1d1095915a528b15cbf..2a25f1180075180c46ebe4aa3cbdf6430955b70e 100644 --- a/product/ERP5Form/__init__.py +++ b/product/ERP5Form/__init__.py @@ -41,10 +41,9 @@ document_classes = updateGlobals( this_module, globals(), # Define object classes and tools import Form, FSForm, ListBox, MatrixBox, SelectionTool -import ZGDChart, PDFTemplate, Report, PDFForm, ParallelListField +import OOoChart, PDFTemplate, Report, PDFForm, ParallelListField import PlanningBox, POSBox, FormBox, EditorField, ProxyField, DurationField import RelationField, ImageField, MultiRelationField, MultiLinkField, InputButtonField -import ZPyChart import PreferenceTool from Products.Formulator.FieldRegistry import FieldRegistry @@ -78,8 +77,6 @@ def initialize( context ): content_classes = content_classes) # Initialise ERP5Form Formulator - FieldRegistry.registerField(ZPyChart.ZPyChart, - 'www/StringField.gif') FieldRegistry.registerField(ProxyField.ProxyField, 'www/StringField.gif') FieldRegistry.registerField(DurationField.DurationField, @@ -94,8 +91,6 @@ def initialize( context ): 'www/StringField.gif') FieldRegistry.registerField(PlanningBox.PlanningBox, 'www/StringField.gif') - FieldRegistry.registerField(ZGDChart.ZGDChart, - 'www/StringField.gif') FieldRegistry.registerField(MatrixBox.MatrixBox, 'www/StringField.gif') FieldRegistry.registerField(RelationField.RelationStringField, @@ -146,6 +141,8 @@ def initialize( context ): 'www/LinkField.gif') FieldRegistry.registerField(InputButtonField.InputButtonField, 'www/StringField.gif') + FieldRegistry.registerField(OOoChart.OOoChart, + 'www/StringField.gif') # some helper fields FieldRegistry.registerField(HelperFields.ListTextAreaField)