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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
21795ffe
Commit
21795ffe
authored
Jan 17, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore id on edit_dict
parent
e01a4b39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5Configurator/Document/CategoriesSpreadsheetConfiguratorItem.py
...gurator/Document/CategoriesSpreadsheetConfiguratorItem.py
+3
-1
No files found.
product/ERP5Configurator/Document/CategoriesSpreadsheetConfiguratorItem.py
View file @
21795ffe
...
@@ -87,9 +87,11 @@ class CategoriesSpreadsheetConfiguratorItem(ConfiguratorItemMixin, XMLObject):
...
@@ -87,9 +87,11 @@ class CategoriesSpreadsheetConfiguratorItem(ConfiguratorItemMixin, XMLObject):
id
=
cat
,)
id
=
cat
,)
else
:
else
:
path
=
path
[
cat
]
path
=
path
[
cat
]
edit_dict
=
category_info
.
copy
()
edit_dict
=
category_info
.
copy
()
edit_dict
.
pop
(
'path'
)
edit_dict
.
pop
(
'path'
)
if
'id'
in
edit_dict
.
keys
():
edit_dict
.
pop
(
'id'
)
path
.
edit
(
**
edit_dict
)
path
.
edit
(
**
edit_dict
)
## add to customer template
## add to customer template
self
.
install
(
path
,
business_configuration
)
self
.
install
(
path
,
business_configuration
)
...
...
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