[Erp5-dev] Using some global actions for actions common to all portal types

Yoshinori Okuji yo at nexedi.com
Mon Aug 13 17:46:00 CEST 2007


On Monday 13 August 2007 16:13, Jérome Perrin wrote:
> Jean-Paul Smets a écrit :
> > Quick note:
> >     about Print "action", is it still possible to override the default
> > print action ?
> > (it OK for me to keep the default one in second).
>
> Actions from portal types will always be displayed before global
> actions, but they will not replace global action.
> This means that if you define a custom print (or search, export ...)
> action for a given portal type, your portal type action will be the one
> selected by default.

Actually, I don't like the idea of having completely the same actions 
everywhere. When I looked at a ODS export global action, it was even added to 
portal_templates, and it was simply annoying for me. So we need to be a bit 
more careful about where we want to enable global actions.

YO
-- 
Yoshinori Okuji, Nexedi CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org



More information about the Erp5-dev mailing list