Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
c7922f3a
Commit
c7922f3a
authored
Sep 22, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: no need to use hardcoded organisation...
too check the bank account obj
parent
a9913cfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5VirtualMasterScenario.py
...mponents/test.erp5.testSlapOSERP5VirtualMasterScenario.py
+5
-2
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5VirtualMasterScenario.py
View file @
c7922f3a
...
@@ -166,6 +166,9 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
...
@@ -166,6 +166,9 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
portal_type
=
"Person"
,
portal_type
=
"Person"
,
default_email_coordinate_text
=
'a@example.org'
,
default_email_coordinate_text
=
'a@example.org'
,
)
)
organisation
=
self
.
portal
.
organisation_module
.
newContent
(
portal_type
=
"Organisation"
)
sale_trade_condition
=
self
.
portal
.
sale_trade_condition_module
.
newContent
(
sale_trade_condition
=
self
.
portal
.
sale_trade_condition_module
.
newContent
(
portal_type
=
"Sale Trade Condition"
,
portal_type
=
"Sale Trade Condition"
,
...
@@ -201,8 +204,8 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
...
@@ -201,8 +204,8 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
portal_type
=
"Open Sale Order"
,
portal_type
=
"Open Sale Order"
,
ledger
=
hosting_subscription
.
getLedger
(),
ledger
=
hosting_subscription
.
getLedger
(),
destination_project_value
=
project
,
destination_project_value
=
project
,
source
=
'organisation_module/slapos'
,
source
_value
=
organisation
,
source_section
=
'organisation_module/slapos'
,
source_section
_value
=
organisation
,
destination_value
=
person
,
destination_value
=
person
,
destination_section_value
=
person
,
destination_section_value
=
person
,
destination_decision_value
=
person
,
destination_decision_value
=
person
,
...
...
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