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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
7494518e
Commit
7494518e
authored
May 11, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo.
parent
7033bce7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5Type/XMLExportImport.py
product/ERP5Type/XMLExportImport.py
+3
-3
No files found.
product/ERP5Type/XMLExportImport.py
View file @
7494518e
...
@@ -130,9 +130,9 @@ def Base_asXML(object, root=None):
...
@@ -130,9 +130,9 @@ def Base_asXML(object, root=None):
for
workflow_action
in
workflow_list
[
workflow_id
]:
for
workflow_action
in
workflow_list
[
workflow_id
]:
workflow_node
=
SubElement
(
object
,
'workflow_action'
,
workflow_node
=
SubElement
(
object
,
'workflow_action'
,
attrib
=
dict
(
id
=
workflow_id
))
attrib
=
dict
(
id
=
workflow_id
))
wor
fk
low_variable_list
=
workflow_action
.
keys
()
wor
kf
low_variable_list
=
workflow_action
.
keys
()
wor
fk
low_variable_list
.
sort
()
wor
kf
low_variable_list
.
sort
()
for
workflow_variable
in
wor
fk
low_variable_list
:
for
workflow_variable
in
wor
kf
low_variable_list
:
variable_type
=
"string"
# Somewhat bad, should find a better way
variable_type
=
"string"
# Somewhat bad, should find a better way
if
workflow_variable
.
find
(
'time'
)
>=
0
:
if
workflow_variable
.
find
(
'time'
)
>=
0
:
variable_type
=
"date"
variable_type
=
"date"
...
...
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