diff --git a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartCustomer.xml b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartCustomer.xml index 3a140f0552949eea899a5f35b0fe513851e339de..93b0a51ba310e07dc8a5af84fcc18b132819d7ef 100644 --- a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartCustomer.xml +++ b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartCustomer.xml @@ -55,13 +55,7 @@ <key> <string>_body</string> </key> <value> <string># based on current Authenticated Member this script must return\n # the Person object\n -from Products.ERP5Type.Cache import CachingMethod\n -def getAuthenticatedMemberPersonValue():\n - return context.getPortalObject().ERP5Site_getAuthenticatedMemberPersonValue()\n -\n -getAuthenticatedMemberPersonValue = CachingMethod(getAuthenticatedMemberPersonValue,\n - id=script.getId())\n -return getAuthenticatedMemberPersonValue()\n +return context.getPortalObject().ERP5Site_getAuthenticatedMemberPersonValue()\n </string> </value> </item> <item> @@ -107,11 +101,8 @@ return getAuthenticatedMemberPersonValue()\n <key> <string>co_varnames</string> </key> <value> <tuple> - <string>Products.ERP5Type.Cache</string> - <string>CachingMethod</string> - <string>getAuthenticatedMemberPersonValue</string> <string>_getattr_</string> - <string>script</string> + <string>context</string> </tuple> </value> </item> diff --git a/bt5/erp5_commerce/bt/revision b/bt5/erp5_commerce/bt/revision index b3b2268d23759dae37ebfc3bc78b201db3c169ca..d903d597234bc96adec8c970a520682d3913bf41 100644 --- a/bt5/erp5_commerce/bt/revision +++ b/bt5/erp5_commerce/bt/revision @@ -1 +1 @@ -228 \ No newline at end of file +229 \ No newline at end of file