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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
d0172627
Commit
d0172627
authored
Sep 21, 2017
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! fixup! Formulator: prepare DateTimeField's sub_form dynamically.
parent
c4f60ee3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
product/ERP5Form/ProxyField.py
product/ERP5Form/ProxyField.py
+4
-2
No files found.
product/ERP5Form/ProxyField.py
View file @
d0172627
...
@@ -493,8 +493,10 @@ class ProxyField(ZMIField):
...
@@ -493,8 +493,10 @@ class ProxyField(ZMIField):
field
=
template_field
field
=
template_field
return
template_field
return
template_field
def
_get_sub_form
(
self
):
def
_get_sub_form
(
self
,
field
=
None
):
return
self
.
getTemplateField
().
_get_sub_form
(
field
=
self
)
if
field
is
None
:
field
=
self
return
self
.
getTemplateField
().
_get_sub_form
(
field
=
field
)
security
.
declareProtected
(
'Access contents information'
,
security
.
declareProtected
(
'Access contents information'
,
'is_delegated'
)
'is_delegated'
)
...
...
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