[Erp5-dev] [PATCH] erp5_accounting_l10n_pl small patch for Organisation_viewDetails
bartek
bartek at erp5.pl
Wed Nov 22 00:04:12 CET 2006
Jérôme Perrin wrote:
> 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 ?
>
Because to be able to properly fill tax forms we have to define to which
tax office a given organisation reports, and I placed this control on
Organisation_viewDetails form.
Now that you mention it, it'd be probably better to place
country-specific controls on a separate form to prevent conflicts (which
is probably what you just had in mind...).
Bartek
>> 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
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
>
More information about the Erp5-dev
mailing list