Force Single Row mode for creating record in Master tab
Description
Environment
Attachments
- 23 Jul 2018, 09:41 AM
- 08 Dec 2013, 12:56 PM
Activity

Nicolas Micoud September 7, 2020 at 1:04 PM
That's correct, the only thing I have to change/manage would be to set the table as 'High volume' to force the Find panel to show when the window is opened from the menu.
So tabs can be set as SingleRow but displayed as multi-row according to user preference.
That would mean : force multi-row when opening from menu.
I need to retest it
Thanks,
Carlos Ruiz September 7, 2020 at 12:53 PM
That's what I mean is the opposite.
The scenario you describe can be managed actually:
by default the window shows single (or is configured as tab preference of the user)
here, zoom and new are open with single
with the user preference you added for "View find result" = "Always in Grid View" or "According to threshold" the user will see the grid when finding records

Nicolas Micoud September 7, 2020 at 12:43 PM
He can have the multi-row when the Find panel closes, which is useful when the search retrieves > 10 records
And it is one click per zoom, so can be mutiples.
My idea is :
from menu, open window in multi-row (with or without selected records)
Then :
zoom : I think is better to see directly all fields (no interest to display one records in multi-row)
create : you can force the single (or let the multi-row if you only have to fill 4 fields)
Carlos Ruiz September 7, 2020 at 10:42 AM
I'm not sure, for me it sounds like a lot of work to save one click per day to a user.
And then this is going the opposite side - this user wants single row on new, single row on zoom, so, when does he want multi-row?

Nicolas Micoud September 7, 2020 at 7:03 AM
Hi @Carlos Ruiz,
Another improvement could be : ForceSingleRow when the window is opened from a zoom.
That allow to have a window opened in grid (from menu) and have all data correctly displayed when opened from zoom.
I think the best to set it up is to do same as https://idempiere.atlassian.net/browse/IDEMPIERE-4005 ; ie : a user preference (Yes/No/Use Client SysConfig)
wdyt ?
If you set a tab on multi row mode, it is useful to swith to single row mode when clicking on NewRecord button.
That could be done by adding a new checkbox on AD_Tab "IsSingleRowForNewRecord".
Regards,
Nicolas