[Erp5-dev] [PATCH] erp5_accounting_l10n_pl small patch for Organisation_viewDetails

Jérôme Perrin jerome at nexedi.com
Tue Nov 21 21:52:04 CET 2006


Le Mardi 21 Novembre 2006 13:55, Łukasz Nowak a écrit :
> Hello,
>
>  - used searchFolder instead of object values
>  - removed id (to follow guidelines)
>  - cleaned up Folder_viewContentList invocation [*]

Hello
why do we need a custom Organisation_viewDetails for l10n_pl ?

> I have question for [*] - invocation of Folder_viewContentList. If for
> eg. listbox is restricting its view only to some portal_types shall be
> Folder_viewContentList restricted too, or shall it show all portal_types
> in root object?

When you have a listbox in view mode, clicking on listbox's title should bring 
you in list mode on a listbox showing the *same lines*, where you can use 
list mode features (cut, copy, paste, delete etc) on the same dataset.

Today, only a few forms respect this. I don't know what others think, but 
maybe we could set a TALES expression for list action in 
Organisation_viewDetails/listbox, something like :
python:'list?' + modules['ZTUtils'].make_query(portal_type=[x[0] for x in 
field.get_value('portal_types')])

Jérome



More information about the Erp5-dev mailing list