Commit 1112ce0f authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added OOoChart which replaces all other charting fields.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16995 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54df69ad
...@@ -41,10 +41,9 @@ document_classes = updateGlobals( this_module, globals(), ...@@ -41,10 +41,9 @@ document_classes = updateGlobals( this_module, globals(),
# Define object classes and tools # Define object classes and tools
import Form, FSForm, ListBox, MatrixBox, SelectionTool 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 PlanningBox, POSBox, FormBox, EditorField, ProxyField, DurationField
import RelationField, ImageField, MultiRelationField, MultiLinkField, InputButtonField import RelationField, ImageField, MultiRelationField, MultiLinkField, InputButtonField
import ZPyChart
import PreferenceTool import PreferenceTool
from Products.Formulator.FieldRegistry import FieldRegistry from Products.Formulator.FieldRegistry import FieldRegistry
...@@ -78,8 +77,6 @@ def initialize( context ): ...@@ -78,8 +77,6 @@ def initialize( context ):
content_classes = content_classes) content_classes = content_classes)
# Initialise ERP5Form Formulator # Initialise ERP5Form Formulator
FieldRegistry.registerField(ZPyChart.ZPyChart,
'www/StringField.gif')
FieldRegistry.registerField(ProxyField.ProxyField, FieldRegistry.registerField(ProxyField.ProxyField,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(DurationField.DurationField, FieldRegistry.registerField(DurationField.DurationField,
...@@ -94,8 +91,6 @@ def initialize( context ): ...@@ -94,8 +91,6 @@ def initialize( context ):
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(PlanningBox.PlanningBox, FieldRegistry.registerField(PlanningBox.PlanningBox,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(ZGDChart.ZGDChart,
'www/StringField.gif')
FieldRegistry.registerField(MatrixBox.MatrixBox, FieldRegistry.registerField(MatrixBox.MatrixBox,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(RelationField.RelationStringField, FieldRegistry.registerField(RelationField.RelationStringField,
...@@ -146,6 +141,8 @@ def initialize( context ): ...@@ -146,6 +141,8 @@ def initialize( context ):
'www/LinkField.gif') 'www/LinkField.gif')
FieldRegistry.registerField(InputButtonField.InputButtonField, FieldRegistry.registerField(InputButtonField.InputButtonField,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(OOoChart.OOoChart,
'www/StringField.gif')
# some helper fields # some helper fields
FieldRegistry.registerField(HelperFields.ListTextAreaField) FieldRegistry.registerField(HelperFields.ListTextAreaField)
......
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