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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Emmerich
erp5
Commits
c98ecf4a
Commit
c98ecf4a
authored
Sep 22, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiosafe_core: fix some wrong usage of version property
It seems to accept int, but version is supposed to be a string.
parent
9a98dbbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_tiosafe_core/ModuleComponentTemplateItem/portal_components/module.erp5.ERP5NodeConduit.py
...lateItem/portal_components/module.erp5.ERP5NodeConduit.py
+1
-1
bt5/erp5_tiosafe_core/ModuleComponentTemplateItem/portal_components/module.erp5.ERP5PaymentTransactionConduit.py
...l_components/module.erp5.ERP5PaymentTransactionConduit.py
+1
-1
No files found.
bt5/erp5_tiosafe_core/ModuleComponentTemplateItem/portal_components/module.erp5.ERP5NodeConduit.py
View file @
c98ecf4a
...
@@ -61,7 +61,7 @@ class ERP5NodeConduit(TioSafeBaseConduit):
...
@@ -61,7 +61,7 @@ class ERP5NodeConduit(TioSafeBaseConduit):
destination
=
object
.
getRelativeUrl
(),
destination
=
object
.
getRelativeUrl
(),
destination_decision
=
object
.
getRelativeUrl
(),
destination_decision
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
stc
.
validate
()
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
# pylint: disable=redefined-builtin
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
# pylint: disable=redefined-builtin
...
...
bt5/erp5_tiosafe_core/ModuleComponentTemplateItem/portal_components/module.erp5.ERP5PaymentTransactionConduit.py
View file @
c98ecf4a
...
@@ -78,7 +78,7 @@ class ERP5PaymentTransactionConduit(TioSafeBaseConduit):
...
@@ -78,7 +78,7 @@ class ERP5PaymentTransactionConduit(TioSafeBaseConduit):
# Create the STC
# Create the STC
stc
=
object
.
getPortalObject
().
sale_trade_condition_module
.
newContent
(
title
=
stc_title
,
stc
=
object
.
getPortalObject
().
sale_trade_condition_module
.
newContent
(
title
=
stc_title
,
specialise
=
default_stc
,
specialise
=
default_stc
,
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
stc
.
validate
()
return
stc
return
stc
...
...
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