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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
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
Hide 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):
destination
=
object
.
getRelativeUrl
(),
destination_decision
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
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):
# Create the STC
stc
=
object
.
getPortalObject
().
sale_trade_condition_module
.
newContent
(
title
=
stc_title
,
specialise
=
default_stc
,
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
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