Commit 7243cc31 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: create Trade Condition for Deposit

parent 32613d15
......@@ -176,6 +176,18 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin):
)
sale_trade_condition.validate()
# Create Trade Condition to create Deposit
sale_trade_condition = self.portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference="For deposit",
trade_condition_type="deposit",
specialise_value=sale_trade_condition,
source_value=seller_organisation,
source_section_value=seller_organisation,
price_currency_value=currency,
)
sale_trade_condition.validate()
# Create Trade Condition to create Project
if is_virtual_master_accountable:
source_section_value = seller_organisation
......
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