diff --git a/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_getUIDescription.xml b/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_getUIDescription.xml index 471547c2718979df780d38b29984581228cbc048..c2144d7bf0c877423934cfcb2874199e7319b326 100644 --- a/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_getUIDescription.xml +++ b/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_getUIDescription.xml @@ -52,86 +52,20 @@ <key> <string>_body</string> </key> <value> <string>from Products.ERP5Type.Cache import CachingMethod\n \n -filename = "basic_configuration_ui_description.sxc"\n -if business_configuration is not None:\n - ## get descriptive filename from bc\n - # XXX FIXME We should be able to define custom basic_configuration_ui_descriptions\n - #filename = business_configuration.getUserInterfaceDecriptionFileId()\n - pass\n -\n +filename = business_configuration.getUserInterfaceDescriptionFileId()\n cachedMethod = CachingMethod(context.ConfigurationTemplate_readOOCalcFile, \'%s_%s\' %(script.getId(),filename))\n object_list = cachedMethod(filename)\n return object_list\n </string> </value> </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string>business_configuration</string> </value> </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>business_configuration</string> - <string>Products.ERP5Type.Cache</string> - <string>CachingMethod</string> - <string>filename</string> - <string>None</string> - <string>_getattr_</string> - <string>context</string> - <string>script</string> - <string>cachedMethod</string> - <string>object_list</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>BusinessConfiguration_getUIDescription</string> </value> </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_configurator/bt/revision b/bt5/erp5_configurator/bt/revision index 9f8ebf73f949262f1ac9e31f985774ae5fd52a31..9301519f58a7573c1954a0a8936f8c1038137e5b 100644 --- a/bt5/erp5_configurator/bt/revision +++ b/bt5/erp5_configurator/bt/revision @@ -1 +1 @@ -482 \ No newline at end of file +483 \ No newline at end of file