Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
c5ff97a3
Commit
c5ff97a3
authored
Aug 16, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Use _setProperty instead as it is also available for non-ERP5ied objects
parent
ed2395be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/Document/BusinessManager.py
product/ERP5/Document/BusinessManager.py
+1
-1
No files found.
product/ERP5/Document/BusinessManager.py
View file @
c5ff97a3
...
@@ -956,7 +956,7 @@ class BusinessPropertyItem(XMLObject):
...
@@ -956,7 +956,7 @@ class BusinessPropertyItem(XMLObject):
if
property_name
.
endswith
(
'_list'
):
if
property_name
.
endswith
(
'_list'
):
property_name
=
property_name
[:
-
5
]
property_name
=
property_name
[:
-
5
]
if
int
(
self
.
getProperty
(
'item_sign'
))
==
1
:
if
int
(
self
.
getProperty
(
'item_sign'
))
==
1
:
obj
.
setProperty
(
property_name
,
property_value
,
property_type
)
obj
.
_
setProperty
(
property_name
,
property_value
,
property_type
)
def
getBusinessPath
(
self
):
def
getBusinessPath
(
self
):
return
self
.
getProperty
(
'item_path'
)
return
self
.
getProperty
(
'item_path'
)
...
...
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