[Erp5-dev] Multiple actions for object_exchange and object_print

Jérôme Perrin jerome at nexedi.com
Thu Sep 7 18:27:49 CEST 2006


Le Jeudi 7 Septembre 2006 16:49, Lukasz Nowak a écrit :
> Hello,
>
> Is it possibile to have multiple actions for object_exchange and
> object_print, with diffrent icons?

Yep, using object_button as action category, and specifying an icon

> Where shall I look for documentation for it? Any clues?

There's no wiki page for this ? you can install erp5_ui_test business template 
and have a look at testButtonActions in /erp5/portal_tests/ . 

> Right now if I'm adding additional actions to types in
> object_{exchange|print} only with lowest priority is shown and executed,
> but eg. I need to have many print methods for one type (so I moved it to
> object_action).

You can also use object_report, if your print methods can be considered as 
reports.

-- 
Jérome



More information about the Erp5-dev mailing list