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

Jean-Paul Smets jp at nexedi.com
Mon Aug 13 15:51:21 CEST 2007


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).
JPS.

Jérome Perrin a écrit :
> Hi
>
> Some actions like History, Medatada or Print PDF are defined on all
> portal types. The idea is to replace those actions defined everywhere
> by global actions.
> I added those global actions in r15631 and r15632, so now we need to
> remove actions from existing portal types, otherwise they are
> displayed twice.
>
> I will myself remove actions from the most common business templates,
> but if you want to update your business templates, you can use the
> attached script.
>
> Call this script on the context of the business template, it will remove
> actions from portal_types and in the business template itself, so that
> you just have to export it again.
>
> Jérome
> ------------------------------------------------------------------------
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org






More information about the Erp5-dev mailing list