vocabulary='getCountries', default='', widget=SelectionWidget( label=_("Country"), description=_("Select the country the site will show by default"), format='select', ) ), FixedPointField( 'MemberDiscount', schemata="Accounting", default='33.33', widget=DecimalWidget( label=_("Member discount %"), description=_( "The discount percentage entered here, is applied to the prices for clients " "flagged as 'members', normally co-operative members or associates deserving " "of this discount"), ) ), FixedPointField( 'VAT', schemata="Accounting", default='14.00', widget=DecimalWidget( label=_("VAT %"), description=_( "Enter percentage value eg. 14.0. This percentage is applied system wide " "but can be overwrittem on individual items"), ) ),
widget=RichWidget( description="Enter the main description for this object.", rows='20', label='Main text', label_msgid='eXtremeManagement_label_mainText', description_msgid='eXtremeManagement_help_mainText', i18n_domain='eXtremeManagement'), ), FloatField( name='roughEstimate', write_permission="eXtremeManagement: Edit roughEstimate", validators=('isDecimal', ), widget=DecimalWidget( description="Enter a rough estimate in days " "(tip: use multiples of 0.5 days)", label='Rough estimate', label_msgid='eXtremeManagement_label_roughEstimate', description_msgid='eXtremeManagement_help_roughEstimate', i18n_domain='eXtremeManagement'), ), ), ) FolderSchema = OrderedBaseFolderSchema.copy() FolderSchema['id'].widget.visible = dict(edit=0, view=0) Story_schema = FolderSchema + schema class Story(OrderedBaseFolder): """ """ security = ClassSecurityInfo()