[Erp5-dev] erp5admin project prefix extensions and site autoconfiguration

Łukasz Nowak lukasz.nowak at ventis.com.pl
Thu Apr 3 10:15:14 CEST 2008


Hello,

There is possibility to configure erp5admin for current site.

AFAIK many developers use one prefix for project - for skins,
workflows, builders, etc.

What I propose is to:
 * create preference in erp5admin Business Template, proposed property:
erp5admin_project_prefix (?)
 * update autoconfiguration from browser to update list of:
   * skins
   * workflows
   * ...
 * update script in erp5admin Business Template, which will query
current site and return dict, for project prefixed with foo:
{
  'portal_skin_list' : [
    'foo_base',
    'foo_base_patch',
    'foo_trade',
  ]
  'portal_workflow_list' : [
    'foo_packing_list_workflow',
    'foo_accounting_workflow',
  ],
  'portal_orders_list' : [

  ], # empty for not existing...
# and more
}

What do you think? If acceptable I'll try to create proof of concept
for skins.

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.



More information about the Erp5-dev mailing list