Single Row Layout on Zoom Record

41 views
Skip to first unread message

Pritesh Shah

unread,
Jun 26, 2015, 9:42:14 AM6/26/15
to idem...@googlegroups.com
Hello All,

I have set the Single Row Layout to false in Account Element Value tab. Now when we zoom from GL Journal Line, it still open in form view instead of grid view.

Reason I am seeing is, in doZoomToDetail method at then end it is written below code
if (gc.isGridView())
     c
.switchRowPresentation();

Can anyone help to verify the issue ?

Carlos Antonio Ruiz Gómez

unread,
Jun 26, 2015, 10:29:17 AM6/26/15
to idem...@googlegroups.com, prites...@knowarth.com
Thanks Pritesh, can you please review the fix I just committed at https://idempiere.atlassian.net/browse/IDEMPIERE-2700

Regards,

Carlos Ruiz

Pritesh Shah

unread,
Jun 27, 2015, 11:21:24 AM6/27/15
to idem...@googlegroups.com, prites...@knowarth.com
Sure Carlos, I will check it out and update you on the same.

I had a one simple solution as below, see that will work or not,
if (!gTab.isSingleRow() && !gc.isGridView())
      gc
.switchRowPresentation();
Reply all
Reply to author
Forward
0 new messages