Commit a6c987e0 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: no need to use hardcoded organisation...

too check the bank account obj
parent 735249a3
......@@ -166,6 +166,9 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
portal_type="Person",
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(
portal_type="Sale Trade Condition",
......@@ -201,8 +204,8 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
portal_type="Open Sale Order",
ledger=hosting_subscription.getLedger(),
destination_project_value=project,
source='organisation_module/slapos',
source_section='organisation_module/slapos',
source_value=organisation,
source_section_value=organisation,
destination_value=person,
destination_section_value=person,
destination_decision_value=person,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment