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
Nicolas Wavrant
erp5
Commits
70755602
Commit
70755602
authored
Jul 06, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos in security declarations.
parent
5272cf47
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
product/ERP5/Document/AppliedRule.py
product/ERP5/Document/AppliedRule.py
+1
-1
product/ERP5/Tool/AcknowledgementTool.py
product/ERP5/Tool/AcknowledgementTool.py
+1
-1
product/ERP5/Tool/RoundingTool.py
product/ERP5/Tool/RoundingTool.py
+2
-2
product/ERP5Form/ScribusUtils.py
product/ERP5Form/ScribusUtils.py
+2
-2
No files found.
product/ERP5/Document/AppliedRule.py
View file @
70755602
...
...
@@ -248,7 +248,7 @@ class AppliedRule(XMLObject, ExplainableMixin):
for
applied_rule
in
movement
.
objectValues
():
applied_rule
.
recursiveImmediateReindexSimulationMovement
(
**
kw
)
security
.
declarePublic
(
'recursiveReindex
Objec
t'
)
security
.
declarePublic
(
'recursiveReindex
SimulationMovemen
t'
)
def
recursiveReindexSimulationMovement
(
self
,
activate_kw
=
None
,
**
kw
):
if
self
.
isIndexable
:
if
activate_kw
is
None
:
...
...
product/ERP5/Tool/AcknowledgementTool.py
View file @
70755602
...
...
@@ -63,7 +63,7 @@ class AcknowledgementTool(BaseTool):
security
=
ClassSecurityInfo
()
security
.
declarePublic
(
'
getUnreadAcknowledgementList
'
)
security
.
declarePublic
(
'
countUnread
'
)
def
countUnread
(
self
,
*
args
,
**
kw
):
"""
counts number of acknowledgements pending
...
...
product/ERP5/Tool/RoundingTool.py
View file @
70755602
...
...
@@ -52,7 +52,7 @@ class RoundingTool(BaseTool):
security
=
ClassSecurityInfo
()
security
.
declarePublic
(
'findRoundingModel'
)
security
.
declarePublic
(
'findRoundingModel
ValueList
'
)
def
findRoundingModelValueList
(
self
,
document
,
property_id
=
None
,
context
=
None
):
"""
Return a list of matched rounding models for `document` which is ordered
...
...
@@ -111,7 +111,7 @@ class RoundingTool(BaseTool):
target_object
=
rounding_model
.
getRoundingProxy
(
target_object
)
return
target_object
security
.
declarePublic
(
'getDecimalRoundingOptionList'
)
security
.
declarePublic
(
'getDecimalRoundingOption
Item
List'
)
def
getDecimalRoundingOptionItemList
(
self
):
"""
Return the possible decimal rounding option item list which is provided
...
...
product/ERP5Form/ScribusUtils.py
View file @
70755602
...
...
@@ -502,7 +502,7 @@ class ManageFiles:
factory
.
addDTMLDocument
(
form_css_id
,
"css"
,
form_css_content
)
security
.
declarePublic
(
'
importFile
'
)
security
.
declarePublic
(
'
setPDFForm
'
)
def
setPDFForm
(
self
,
factory
,
skin_folder
,
...
...
@@ -1334,7 +1334,7 @@ class ScribusParser:
+
": using "
+
str
(
default_value
))
return
default_value
security
.
declarePublic
(
'getXmlObjectPropertiesDict'
)
security
.
declarePublic
(
'getXmlObject
s
PropertiesDict'
)
def
getXmlObjectsPropertiesDict
(
self
,
xml_string
):
"""
takes a string containing a whole document and returns
...
...
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