[Erp5-dev] persistent change in default portal_skin for reports

Jérôme Perrin jerome at nexedi.com
Wed Jan 18 16:33:09 CET 2006


Le Mercredi 18 Janvier 2006 13:04, Bartłomiej Górny a écrit :
> Bartłomiej Górny wrote:
> > A minor, but very annoying problem: I used an export csv feature
> > (exported a list of accounting transactions), and from this moment the
> > portal_skin field in report dialogs (the hidden one) that should default
> > to "Print" now defaults to "CSV" - I have to change it manually to be
> > able to print a report. Where is it stored, how to bring it back to the
> > original state, and is it on your buglist?
>
> Ok, got this one - stored in portal_selection, can be fixed by calling
> setSelectionParamsFor for 'accounting_selection'.
>

exactly ! and form_dialog gives precedence to the value found in request and 
selection than the default value of the field. 
I just commited a patch for this.

-- 
Jérome



More information about the Erp5-dev mailing list