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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
7681b1d7
Commit
7681b1d7
authored
Mar 29, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: use a str for version
This code from tiosafe was wrongly using version as an int.
parent
f203045c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
bt5/erp5_tiosafe_oscommerce/ExtensionTemplateItem/OscommerceERP5NodeConduit.py
...mmerce/ExtensionTemplateItem/OscommerceERP5NodeConduit.py
+1
-1
bt5/erp5_tiosafe_virtuemart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
...tuemart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
+1
-1
bt5/erp5_tiosafe_virtuemart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
...rtuemart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
+1
-1
bt5/erp5_tiosafe_zencart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
...zencart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
+1
-1
bt5/erp5_tiosafe_zencart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
..._zencart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
+1
-1
product/ERP5TioSafe/Conduit/ERP5NodeConduit.py
product/ERP5TioSafe/Conduit/ERP5NodeConduit.py
+1
-1
product/ERP5TioSafe/Conduit/ERP5PaymentTransactionConduit.py
product/ERP5TioSafe/Conduit/ERP5PaymentTransactionConduit.py
+1
-1
No files found.
bt5/erp5_tiosafe_oscommerce/ExtensionTemplateItem/OscommerceERP5NodeConduit.py
View file @
7681b1d7
...
...
@@ -58,7 +58,7 @@ class OscommerceERP5NodeConduit(TioSafeBaseConduit):
destination
=
object
.
getRelativeUrl
(),
destination_decision
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
def
afterCreateMethod
(
self
,
object
,
**
kw
):
...
...
bt5/erp5_tiosafe_virtuemart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
View file @
7681b1d7
...
...
@@ -40,7 +40,7 @@ class ERP5DeliveredNodeConduit(ERP5NodeConduit):
stc
=
object
.
getPortalObject
().
sale_trade_condition_module
.
newContent
(
title
=
"%s %s"
%
(
site
.
getReference
(),
object
.
getTitle
()),
specialise
=
default_stc
,
destination
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
...
...
bt5/erp5_tiosafe_virtuemart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
View file @
7681b1d7
...
...
@@ -42,7 +42,7 @@ class ERP5InvoicedNodeConduit(ERP5NodeConduit):
specialise
=
default_stc
,
destination_decision
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
...
...
bt5/erp5_tiosafe_zencart/ExtensionTemplateItem/ERP5DeliveredNodeConduit.py
View file @
7681b1d7
...
...
@@ -40,7 +40,7 @@ class ERP5DeliveredNodeConduit(ERP5NodeConduit):
stc
=
object
.
getPortalObject
().
sale_trade_condition_module
.
newContent
(
title
=
"%s %s"
%
(
site
.
getReference
(),
object
.
getTitle
()),
specialise
=
default_stc
,
destination
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
...
...
bt5/erp5_tiosafe_zencart/ExtensionTemplateItem/ERP5InvoicedNodeConduit.py
View file @
7681b1d7
...
...
@@ -42,7 +42,7 @@ class ERP5InvoicedNodeConduit(ERP5NodeConduit):
specialise
=
default_stc
,
destination_decision
=
object
.
getRelativeUrl
(),
destination_administration
=
object
.
getRelativeUrl
(),
version
=
0o01
)
version
=
'001'
)
stc
.
validate
()
def
_updateSaleTradeCondition
(
self
,
object
,
**
kw
):
...
...
product/ERP5TioSafe/Conduit/ERP5NodeConduit.py
View file @
7681b1d7
...
...
@@ -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
):
...
...
product/ERP5TioSafe/Conduit/ERP5PaymentTransactionConduit.py
View file @
7681b1d7
...
...
@@ -81,7 +81,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