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
Lukas Niegsch
erp5
Commits
777c5e6c
Commit
777c5e6c
authored
Dec 29, 2017
by
Tomáš Peterka
Committed by
Tomáš Peterka
Jan 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ERP5Form] Pass request to fields
parent
77c2778a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5Form/Form.py
product/ERP5Form/Form.py
+1
-1
No files found.
product/ERP5Form/Form.py
View file @
777c5e6c
...
@@ -391,7 +391,7 @@ def get_value(self, id, REQUEST=None, **kw):
...
@@ -391,7 +391,7 @@ def get_value(self, id, REQUEST=None, **kw):
field_value_cache
[
cache_id
]
=
value
field_value_cache
[
cache_id
]
=
value
if
callable
(
value
):
if
callable
(
value
):
return
value
(
field
,
id
,
**
kw
)
return
value
(
field
,
id
,
REQUEST
=
REQUEST
,
**
kw
)
return
value
return
value
psyco
.
bind
(
get_value
)
psyco
.
bind
(
get_value
)
...
...
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