Commit bb17603a authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: configure trade_condition_type on the Sale Trade Condition

parent 4a8fc676
......@@ -157,6 +157,7 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin):
sale_trade_condition = self.portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference="Tax/payment for: %s" % currency.getRelativeUrl(),
trade_condition_type="default",
# XXX hardcoded
specialise="business_process_module/slapos_ultimate_business_process",
price_currency_value=currency,
......@@ -186,6 +187,7 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin):
sale_trade_condition = self.portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference=title,
trade_condition_type="virtual_master",
specialise_value=sale_trade_condition,
source_value=seller_organisation,
source_section_value=source_section_value,
......
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