Commit 13d72dab authored by Sebastien Robin's avatar Sebastien Robin

because of wrong proxy rules in erp5_item, need to add

temporarly erp5_trade_proxy_field_legacy

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34647 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a27bea5f
......@@ -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
......
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