[Erp5-dev] Multiple actions for object_exchange and object_print

Pelletier Vincent vincent at nexedi.com
Wed Sep 13 11:32:28 CEST 2006


Le Mardi 12 Septembre 2006 17:47, Lukasz Nowak a écrit :
> So I'm attaching "my way" of having many prints _AND_ fully working
> Base_printPdf as form. I think that if erp5_core will be patched that way
> someone in future won't have misunderstanding as mine and selecting print
> method will be avaiable out-of-the-box.

Thanks.
I just commited an update to erp5_xhtml_style with something very similar to 
what you attached - just xhtml_style-ized.

The current behaviour is that when there is only one possible print action, 
it's performed immediatelly when the button is clicked, and if there are more 
than one available it displays a form to choose the one to execute.

please tell me if this behaviour looks disturbing. The usual way is to always 
display an intermediate dialog when there might be more than one action.
Maybe this new way should be applied to other actions aswell, with the 
restriction that potentially long actions - reports - should never be 
executed immediatelly.

-- 
Vincent Pelletier



More information about the Erp5-dev mailing list