Commit 20b21ce5 authored by Sebastien Robin's avatar Sebastien Robin

added PlanningBox


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2862 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2d083d8
...@@ -39,6 +39,7 @@ document_classes = updateGlobals( this_module, globals(), permissions_module = P ...@@ -39,6 +39,7 @@ document_classes = updateGlobals( this_module, globals(), permissions_module = P
# Define object classes and tools # Define object classes and tools
import Form, FSForm, ListBox, MatrixBox, SelectionTool, ZGDChart, PDFTemplate, Report import Form, FSForm, ListBox, MatrixBox, SelectionTool, ZGDChart, PDFTemplate, Report
import PlanningBox
import RelationField, ImageField, MultiRelationField import RelationField, ImageField, MultiRelationField
from Products.Formulator.FieldRegistry import FieldRegistry from Products.Formulator.FieldRegistry import FieldRegistry
from Products.Formulator import StandardFields, HelperFields from Products.Formulator import StandardFields, HelperFields
...@@ -73,6 +74,8 @@ def initialize( context ): ...@@ -73,6 +74,8 @@ def initialize( context ):
# Initialise ERP5Form Formulator # Initialise ERP5Form Formulator
FieldRegistry.registerField(ListBox.ListBox, FieldRegistry.registerField(ListBox.ListBox,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(PlanningBox.PlanningBox,
'www/StringField.gif')
FieldRegistry.registerField(ZGDChart.ZGDChart, FieldRegistry.registerField(ZGDChart.ZGDChart,
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(MatrixBox.MatrixBox, FieldRegistry.registerField(MatrixBox.MatrixBox,
...@@ -149,4 +152,4 @@ def initialize( context ): ...@@ -149,4 +152,4 @@ def initialize( context ):
'www/PDF.png', globals()) 'www/PDF.png', globals())
ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',) ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',)
\ No newline at end of file
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