Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
78a7ac50
Commit
78a7ac50
authored
Mar 06, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preamble and whitespace cleanup.
parent
2ed1bb80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
product/ERP5Type/Constraint/PropertyTypeValidity.py
product/ERP5Type/Constraint/PropertyTypeValidity.py
+4
-5
No files found.
product/ERP5Type/Constraint/PropertyTypeValidity.py
View file @
78a7ac50
##############################################################################
#
# Copyright (c) 2002
, 2005 Nexedi SARL
and Contributors. All Rights Reserved.
# Copyright (c) 2002
-2012 Nexedi SA
and Contributors. All Rights Reserved.
# Sebastien Robin <seb@nexedi.com>
# Jean-Paul Smets <jp@nexedi.com>
# Romain Courteaud <romain@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole respons
a
bility of assessing all potential
# programmers who take the whole respons
i
bility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# g
arantees and support are strongly advic
ed to contract a Free Software
# g
uarantees and support are strongly advis
ed to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
...
...
@@ -55,7 +55,7 @@ class PropertyTypeValidity(Constraint):
'multiple selection'
:
(
list
,
tuple
),
'date'
:
(
DateTime
,
),
}
# Properties of type eg. "object" can hold anything
_permissive_type_list
=
(
'object'
,
'data'
)
...
...
@@ -144,5 +144,4 @@ class PropertyTypeValidity(Constraint):
self
.
_getMessage
(
'message_local_property_migrated'
),
dict
(
property_id
=
property_id
)))
return
error_list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment