diff --git a/product/ERP5/tests/testItem.py b/product/ERP5/tests/testItem.py index 7fa144d64956266a42c44a32483874e56beed123..db2b3f5a0b891c1cb72a6a4f3b12823e12ed55fb 100644 --- a/product/ERP5/tests/testItem.py +++ b/product/ERP5/tests/testItem.py @@ -41,8 +41,15 @@ class TestItemMixin(TestSaleInvoiceMixin): 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