From e2f7fb84f03f4843a98816a2721f6a218873793f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 13 Jan 2010 15:45:48 +0000
Subject: [PATCH] Don't use obsolete Supply Line portal type, use Sale Supply
 Line instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31730 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5Commerce.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/product/ERP5/tests/testERP5Commerce.py b/product/ERP5/tests/testERP5Commerce.py
index f02843dd1a..0d3b5078fc 100644
--- a/product/ERP5/tests/testERP5Commerce.py
+++ b/product/ERP5/tests/testERP5Commerce.py
@@ -269,8 +269,7 @@ class TestCommerce(ERP5TypeTestCase):
         product_line = category.getRelativeUrl().replace('product_line/', '')
         product.setProductLine(product_line)
         product.setQuantityUnit('unit/piece')
-        supply_line = product.newContent(id='default_supply_line',
-                                         portal_type='Supply Line')
+        supply_line = product.newContent(portal_type='Sale Supply Line')
         supply_line.setBasePrice(10 * (i + 1))
         supply_line.setPricedQuantity(1)
         supply_line.setDefaultResourceValue(product)
@@ -285,8 +284,7 @@ class TestCommerce(ERP5TypeTestCase):
                                            title='UPS Shipping : 24h')
     ups.setQuantityUnit('unit/piece')
     supply_line = ups.setProductLine('shipping/UPS24h')
-    supply_line = ups.newContent(id='default_supply_line',
-                                 portal_type='Supply Line')
+    supply_line = ups.newContent(portal_type='Sale Supply Line')
     supply_line.setBasePrice(10)
     supply_line.setPricedQuantity(1)
     supply_line.setDefaultResourceValue(product)
-- 
2.30.9