Commit f765d6cc authored by Nicolas Delaby's avatar Nicolas Delaby

Create open sale orders in their respective modules

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41854 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da46bf93
......@@ -236,7 +236,7 @@ class TestOpenOrder(ERP5TypeTestCase):
Make sure that Open Order Rule can generate simulation movements by
following trade conditon's periodicity setting and order's forecasting term.
"""
open_sale_order = self.portal.sale_order_module.newContent(
open_sale_order = self.portal.open_sale_order_module.newContent(
portal_type='Open Sale Order',
specialise=self.portal.sale_trade_condition_module.trade_condition.getRelativeUrl(),
start_date=DateTime(3000,2,9),
......@@ -341,7 +341,7 @@ class TestOpenOrder(ERP5TypeTestCase):
"""
Make sure that open sale order can create sale orders repeatedly
"""
open_sale_order = self.portal.sale_order_module.newContent(
open_sale_order = self.portal.open_sale_order_module.newContent(
portal_type='Open Sale Order',
specialise=self.portal.sale_trade_condition_module.trade_condition.getRelativeUrl(),
start_date=DateTime(3000,2,9),
......
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