diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml index 8678a7f3aaaeb0b7002dde9ea4257d113628f06f..5f72b2a4cddc80ad7590ceb6a387679c57b932fd 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml @@ -81,7 +81,10 @@ if to_currency is not None:\n from DateTime import DateTime\n start_date = DateTime()\n from Products.ERP5Type.Document import newTempBase\n - temp_object = newTempBase(context.getPortalObject(),\'temp_object\')\n + # Note: SupplyCell is the class of Currency Exchange Line portal type objects\n + # But in reality, anything should do.\n + from Products.ERP5Type.Document import newTempSupplyCell as newTemp\n + temp_object = newTemp(context.getPortalObject(),\'temp_object\')\n temp_kw = {\'category_list\':[\'resource/%s\' % from_currency,\n \'price_currency/%s\' % to_currency],\n \'start_date\':start_date\n diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 7179a19790caf0cf21e3fc217064f18f8ca9c250..aa5bea4ec6ab0558643e258d13e07cc56d598826 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -964 \ No newline at end of file +965