Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yusei Tahara
erp5
Commits
70755602
Commit
70755602
authored
13 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Download
Email Patches
Plain Diff
fix typos in security declarations.
parent
5272cf47
Changes
4
Show 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
:
...
...
This diff is collapsed.
Click to expand it.
product/ERP5/Tool/AcknowledgementTool.py
View file @
70755602
...
...
@@ -63,7 +63,7 @@ class AcknowledgementTool(BaseTool):
security
=
ClassSecurityInfo
()
security
.
declarePublic
(
'
ge
tUnread
AcknowledgementList
'
)
security
.
declarePublic
(
'
coun
tUnread'
)
def
countUnread
(
self
,
*
args
,
**
kw
):
"""
counts number of acknowledgements pending
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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