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
Kasra Jamshidi
erp5
Commits
a13970ed
Commit
a13970ed
authored
Aug 04, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Add explicit accessors for Business Property Item
parent
093e76b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
product/ERP5/Document/BusinessManager.py
product/ERP5/Document/BusinessManager.py
+21
-0
No files found.
product/ERP5/Document/BusinessManager.py
View file @
a13970ed
...
...
@@ -1036,6 +1036,27 @@ class BusinessPropertyItem(XMLObject):
if
int
(
self
.
getProperty
(
'item_sign'
))
==
1
:
obj
.
setProperty
(
property_name
,
property_value
,
property_type
)
def
getBusinessPath
(
self
):
return
self
.
getProperty
(
'item_path'
)
def
getBusinessPathSign
(
self
):
return
self
.
getProperty
(
'item_sign'
)
def
getBusinessPathLayer
(
self
):
return
self
.
getProperty
(
'item_layer'
)
def
getParentBusinessManager
(
self
):
return
self
.
aq_parent
def
getBusinessItemPropertyName
(
self
):
return
self
.
getProperty
(
'item_property_name'
)
def
getBusinessItemPropertyType
(
self
):
return
self
.
getProperty
(
'item_property_type'
)
def
getBusinessItemPropertyValue
(
self
):
return
self
.
getProperty
(
'item_property_value'
)
def
registerSkinFolder
(
skin_tool
,
skin_folder
):
request
=
skin_tool
.
REQUEST
# XXX: Getting parameter from request instead of dialog is bad
...
...
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