[Erp5-report] r34647 seb - /erp5/trunk/products/ERP5/tests/testItem.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 19 13:27:59 CEST 2010


Author: seb
Date: Mon Apr 19 13:27:58 2010
New Revision: 34647

URL: http://svn.erp5.org?rev=34647&view=rev
Log:
because of wrong proxy rules in erp5_item, need to add
temporarly erp5_trade_proxy_field_legacy

Modified:
    erp5/trunk/products/ERP5/tests/testItem.py

Modified: erp5/trunk/products/ERP5/tests/testItem.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testItem.py?rev=34647&r1=34646&r2=34647&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testItem.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testItem.py [utf8] Mon Apr 19 13:27:58 2010
@@ -41,8 +41,15 @@
 
   def getBusinessTemplateList(self):
     """
+    custom list of business templates for testItem
+
+    erp5_trade_proxy_field_legacy is added only for a temporary
+    period until wrongly proxyfied business template (erp5_item here) stops
+    using obsolete field libraries. erp5_trade_proxy_field_legacy must be
+    removed as soon as possible.
     """
-    return TestSaleInvoiceMixin.getBusinessTemplateList(self) + ('erp5_item',)
+    return TestSaleInvoiceMixin.getBusinessTemplateList(self) + \
+         ('erp5_item',) + ('erp5_trade_proxy_field_legacy',)
   
   def login(self):
     uf = self.getPortal().acl_users




More information about the Erp5-report mailing list