Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
36eee087
Commit
36eee087
authored
Aug 04, 2017
by
Ayush Tiwari
Committed by
Ayush Tiwari
Nov 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Add explicit accessors for Business Property Item
parent
cab15cd6
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 @
36eee087
...
@@ -1036,6 +1036,27 @@ class BusinessPropertyItem(XMLObject):
...
@@ -1036,6 +1036,27 @@ class BusinessPropertyItem(XMLObject):
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
):
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
):
def
registerSkinFolder
(
skin_tool
,
skin_folder
):
request
=
skin_tool
.
REQUEST
request
=
skin_tool
.
REQUEST
# XXX: Getting parameter from request instead of dialog is bad
# 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