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
Carlos Ramos Carreño
erp5
Commits
a70bf773
Commit
a70bf773
authored
Nov 11, 2014
by
Klaus Wölfel
Committed by
Klaus Wölfel
Feb 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! ValueConfiguratorItem
parent
4299bb89
Changes
2
Show 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 @
a70bf773
...
@@ -63,12 +63,12 @@ class AlarmConfiguratorItem(ConfiguratorItemMixin, XMLObject):
...
@@ -63,12 +63,12 @@ class AlarmConfiguratorItem(ConfiguratorItemMixin, XMLObject):
error_list
=
[]
error_list
=
[]
property_dict
=
{
property_dict
=
{
"active_sense_method_id"
:
self
.
getActiveSenseMethodId
(),
"active_sense_method_id"
:
self
.
getActiveSenseMethodId
(),
"destination_list"
:
self
.
getDes
it
nationList
(),
"destination_list"
:
self
.
getDes
ti
nationList
(),
"periodicity_hour_list"
:
self
.
getPeriodicityHourList
(),
"periodicity_hour_list"
:
self
.
getPeriodicityHourList
(),
"periodicity_minute_list"
:
self
.
getPeriodicityMinuteList
(),
"periodicity_minute_list"
:
self
.
getPeriodicityMinuteList
(),
"periodicity_minute_frequency"
:
self
.
getPeriodicityMinuteFrequency
(),
"periodicity_minute_frequency"
:
self
.
getPeriodicityMinuteFrequency
(),
"periodicity_week_list"
:
self
.
getPeriodicityWeekList
(),
"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_week_frequency"
:
self
.
getPeriodicityWeekFrequency
(),
"periodicity_month_list"
:
self
.
getPeriodicityMonthList
(),
"periodicity_month_list"
:
self
.
getPeriodicityMonthList
(),
"periodicity_month_day_list"
:
self
.
getPeriodicityMonthDayList
(),
"periodicity_month_day_list"
:
self
.
getPeriodicityMonthDayList
(),
...
...
product/ERP5Configurator/Document/PathConfiguratorItem.py
View file @
a70bf773
...
@@ -71,8 +71,11 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
...
@@ -71,8 +71,11 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
error_list
.
append
(
self
.
_createConstraintMessage
(
error_list
.
append
(
self
.
_createConstraintMessage
(
"%s %s should be created"
%
(
portal_type
,
document_id
)))
"%s %s should be created"
%
(
portal_type
,
document_id
)))
if
fixit
:
if
fixit
:
document
=
container
.
newContent
(
id
=
document_id
,
document_init_dict
=
{
'portal_type'
:
portal_type
,
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
)
document
.
edit
(
**
document_dict
)
if
transition_method
is
not
None
:
if
transition_method
is
not
None
:
getattr
(
document
,
transition_method
)
(
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