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
Xueyun Qian
erp5
Commits
531d9a56
Commit
531d9a56
authored
Nov 11, 2014
by
Klaus Wölfel
Committed by
Jérome Perrin
Oct 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! ValueConfiguratorItem
parent
e1ec727c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
product/ERP5Configurator/Document/AlarmConfiguratorItem.py
product/ERP5Configurator/Document/AlarmConfiguratorItem.py
+2
-2
product/ERP5Configurator/Document/PathConfiguratorItem.py
product/ERP5Configurator/Document/PathConfiguratorItem.py
+5
-2
No files found.
product/ERP5Configurator/Document/AlarmConfiguratorItem.py
View file @
531d9a56
...
...
@@ -63,12 +63,12 @@ class AlarmConfiguratorItem(ConfiguratorItemMixin, XMLObject):
error_list
=
[]
property_dict
=
{
"active_sense_method_id"
:
self
.
getActiveSenseMethodId
(),
"destination_list"
:
self
.
getDes
it
nationList
(),
"destination_list"
:
self
.
getDes
ti
nationList
(),
"periodicity_hour_list"
:
self
.
getPeriodicityHourList
(),
"periodicity_minute_list"
:
self
.
getPeriodicityMinuteList
(),
"periodicity_minute_frequency"
:
self
.
getPeriodicityMinuteFrequency
(),
"periodicity_week_list"
:
self
.
getPeriodicityWeekList
(),
"periodicity_week_day_list"
:
self
.
getPeriodicityWee
Dayk
List
(),
"periodicity_week_day_list"
:
self
.
getPeriodicityWee
kDay
List
(),
"periodicity_week_frequency"
:
self
.
getPeriodicityWeekFrequency
(),
"periodicity_month_list"
:
self
.
getPeriodicityMonthList
(),
"periodicity_month_day_list"
:
self
.
getPeriodicityMonthDayList
(),
...
...
product/ERP5Configurator/Document/PathConfiguratorItem.py
View file @
531d9a56
...
...
@@ -71,8 +71,11 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
error_list
.
append
(
self
.
_createConstraintMessage
(
"%s %s should be created"
%
(
portal_type
,
document_id
)))
if
fixit
:
document
=
container
.
newContent
(
id
=
document_id
,
portal_type
=
portal_type
)
document_init_dict
=
{
'portal_type'
:
portal_type
,
'document_id'
:
document_id
}
if
title
in
document_dict
:
document_init_dict
[
'title'
]
=
document_dict
.
pop
(
'title'
)
document
=
container
.
newContent
(
**
document_init_dict
)
document
.
edit
(
**
document_dict
)
if
transition_method
is
not
None
:
getattr
(
document
,
transition_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