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
Sebastian
erp5
Commits
18dd0a2c
Commit
18dd0a2c
authored
Jan 19, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Form: fix wrong required=1 in CheckBoxField settings.
parent
92e78cbe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
product/ERP5Form/AudioField.py
product/ERP5Form/AudioField.py
+1
-1
product/ERP5Form/Form.py
product/ERP5Form/Form.py
+1
-1
product/ERP5Form/PlanningBox.py
product/ERP5Form/PlanningBox.py
+4
-4
product/ERP5Form/VideoField.py
product/ERP5Form/VideoField.py
+1
-1
No files found.
product/ERP5Form/AudioField.py
View file @
18dd0a2c
...
@@ -51,7 +51,7 @@ class AudioWidget(Widget.TextWidget):
...
@@ -51,7 +51,7 @@ class AudioWidget(Widget.TextWidget):
title
=
'Enable on the fly video player change (based on java script)'
,
title
=
'Enable on the fly video player change (based on java script)'
,
description
=
'Define if javascript is enabled or not on the current Video'
,
description
=
'Define if javascript is enabled or not on the current Video'
,
default
=
1
,
default
=
1
,
required
=
1
)
required
=
0
)
audio_player
=
fields
.
ListField
(
'audio_player'
,
audio_player
=
fields
.
ListField
(
'audio_player'
,
title
=
'Audio Player'
,
title
=
'Audio Player'
,
...
...
product/ERP5Form/Form.py
View file @
18dd0a2c
...
@@ -553,7 +553,7 @@ def create_settings_form():
...
@@ -553,7 +553,7 @@ def create_settings_form():
unicode_mode
=
fields
.
CheckBoxField
(
'unicode_mode'
,
unicode_mode
=
fields
.
CheckBoxField
(
'unicode_mode'
,
title
=
'Form properties are unicode'
,
title
=
'Form properties are unicode'
,
default
=
0
,
default
=
0
,
required
=
1
)
required
=
0
)
edit_order
=
fields
.
LinesField
(
'edit_order'
,
edit_order
=
fields
.
LinesField
(
'edit_order'
,
title
=
'Setters for these properties should be'
title
=
'Setters for these properties should be'
'<br /> called by edit() in the defined order'
)
'<br /> called by edit() in the defined order'
)
...
...
product/ERP5Form/PlanningBox.py
View file @
18dd0a2c
...
@@ -655,7 +655,7 @@ class PlanningBoxWidget(Widget.Widget):
...
@@ -655,7 +655,7 @@ class PlanningBoxWidget(Widget.Widget):
title
=
'enable on the fly edition (based on java script)'
,
title
=
'enable on the fly edition (based on java script)'
,
description
=
'define if javascript is enabled or not on the current Planning'
,
description
=
'define if javascript is enabled or not on the current Planning'
,
default
=
1
,
default
=
1
,
required
=
1
)
required
=
0
)
# kind of representation to render : Planning or Calendar
# kind of representation to render : Planning or Calendar
vertical_view
=
fields
.
CheckBoxField
(
'vertical_view'
,
vertical_view
=
fields
.
CheckBoxField
(
'vertical_view'
,
...
@@ -663,7 +663,7 @@ class PlanningBoxWidget(Widget.Widget):
...
@@ -663,7 +663,7 @@ class PlanningBoxWidget(Widget.Widget):
description
=
'define if need to changes axis order. By default Y axis is'
description
=
'define if need to changes axis order. By default Y axis is'
'main axis, but to display calendar main axis must be X one.'
,
'main axis, but to display calendar main axis must be X one.'
,
default
=
0
,
default
=
0
,
required
=
1
)
required
=
0
)
# added especially for new Planning Structure generation
# added especially for new Planning Structure generation
# is used to split result in pages in a ListBox like rendering
# is used to split result in pages in a ListBox like rendering
...
@@ -737,14 +737,14 @@ class PlanningBoxWidget(Widget.Widget):
...
@@ -737,14 +737,14 @@ class PlanningBoxWidget(Widget.Widget):
'If checked, the Y axis will match the right border'
\
'If checked, the Y axis will match the right border'
\
'of the planning, otherwise default is applied : left'
,
'of the planning, otherwise default is applied : left'
,
default
=
0
,
default
=
0
,
required
=
1
)
required
=
0
)
x_axis_position
=
fields
.
CheckBoxField
(
'x_axis_position'
,
x_axis_position
=
fields
.
CheckBoxField
(
'x_axis_position'
,
title
=
'Force X axis to the bottom instead of top'
,
title
=
'Force X axis to the bottom instead of top'
,
description
=
'position of X axis over the planning content.'
\
description
=
'position of X axis over the planning content.'
\
'default is top, if checked then right apply'
,
'default is top, if checked then right apply'
,
default
=
0
,
default
=
0
,
required
=
1
)
required
=
0
)
default
=
fields
.
TextAreaField
(
'default'
,
default
=
fields
.
TextAreaField
(
'default'
,
...
...
product/ERP5Form/VideoField.py
View file @
18dd0a2c
...
@@ -66,7 +66,7 @@ class VideoWidget(Widget.TextWidget):
...
@@ -66,7 +66,7 @@ class VideoWidget(Widget.TextWidget):
title
=
'Enable on the fly video player change (based on java script)'
,
title
=
'Enable on the fly video player change (based on java script)'
,
description
=
'Define if javascript is enabled or not on the current Video'
,
description
=
'Define if javascript is enabled or not on the current Video'
,
default
=
1
,
default
=
1
,
required
=
1
)
required
=
0
)
video_player
=
fields
.
ListField
(
'video_player'
,
video_player
=
fields
.
ListField
(
'video_player'
,
title
=
'Video Player'
,
title
=
'Video Player'
,
...
...
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