"NF3.0 Tree On Any Table" not working correctly in subtab

Description

I tried to apply "NF3.0 Tree On Any Table" to provide a better overview when having a high number of order lines in a sales order.

So I extended table OrderLines with field "IsSummary" as described in http://wiki.idempiere.org/en/NF3.0_Tree_On_Any_Table. To make it work technically (because of errors) I had to add field "Value" as well and to make it practically useful I had to add field "Name" as well. Then a tree is visible in the subtab of a sales order.

But the problem is that the tree is showing all order lines and does not filter regarding the related order.

I have created some patches against MTree and the related webui and swing functionality. They make it work in swing, webui is still missing the refresh when you move to another entry in the supertab.
and please review if this is the right approach.

Environment

None

Assignee

Dirk Niemeyer

Reporter

Dirk Niemeyer

Labels

Tested By

None

Components

Priority

Major
Configure