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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
7233208a
Commit
7233208a
authored
Sep 17, 2019
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accessor/Base.py: allow tales expressions as base types
parent
061e9f95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
product/ERP5Type/Accessor/Base.py
product/ERP5Type/Accessor/Base.py
+3
-0
No files found.
product/ERP5Type/Accessor/Base.py
View file @
7233208a
...
@@ -35,6 +35,7 @@ from Acquisition import aq_base
...
@@ -35,6 +35,7 @@ from Acquisition import aq_base
from
zLOG
import
LOG
from
zLOG
import
LOG
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.CMFCore.Expression
import
Expression
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.PsycoWrapper
import
psyco
from
Products.ERP5Type.PsycoWrapper
import
psyco
from
AccessControl.ImplPython
import
rolesForPermissionOn
from
AccessControl.ImplPython
import
rolesForPermissionOn
...
@@ -56,6 +57,8 @@ builtin_type_tuple = (
...
@@ -56,6 +57,8 @@ builtin_type_tuple = (
types
.
ListType
,
types
.
ListType
,
types
.
DictType
,
types
.
DictType
,
DateTime
,
DateTime
,
# It seems some magic converts automatically string in Tales Expression if they follow some format
Expression
,
)
)
class
Setter
(
Method
):
class
Setter
(
Method
):
...
...
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