Jérome Perrin
2007-08-13 12:58:53 UTC
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BusinessTemplate_removeOldStyleActions.py
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070813/c2fe53ae/attachment.asc>
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BusinessTemplate_removeOldStyleActions.py
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070813/c2fe53ae/attachment.asc>