Quick Info Widget Support for Info Window

Description

Currently Quick Info - Status Line can only be used in windows with Grid Tab, so it does not show up in Info Windows. The initial goal of this ticket is to support Quick Info rendering in Info Windows too.

Implementation steps:

  • implement getStatusLinesWidget method into InfoWindow.java (similar as in GridTable.java)

  • link Status Line and Info Window through AD_Table_ID

Environment

None

Attachments

8

Activity

Show:

Vitor Henrique Santos July 25, 2023 at 2:47 PM

Hi everyone, about the info total calculations here is the diff with the implementation on InfoPanel class

 

Peter Takacs July 25, 2023 at 2:26 PM

Reopening due to an issue discussed in mattermost thread: https://mattermost.idempiere.org/idempiere/pl/m1z817rxwjgmieeka9t7adtfww

To reproduce:

  • open an info window with multiselection

  • press the Select All button

Murilo Habermann Torquato July 25, 2023 at 12:15 PM

CarlosRuiz - Norbert is saying he remembers that had a patch/commit related to this, but we cannot find it

hi and sorry for my late action here… i think that the patch for the info windows totals calculations was lost in some of my old Bitbucket repos… I believe that to be included in the core, it needs to be better structured, and maybe with this new quick info support for info windows it can be totally replaced. Just for reference, this is how it works for now:

If you find usefull can send a patch for discussion about how implement it into core. He also has some scenarios that he believes he has identified a problem with the info windows context and will expose for us to hep find the fix

Peter Takacs July 18, 2023 at 8:46 AM

Documentation page created:

Carlos Ruiz July 16, 2023 at 3:38 PM

Hi team , ,

This looks great, I tested it successfully with the following 2pack:

it works just on PostgreSQL and creates a Quick Info for the Order Info window showing the IDs of the selected records (for tests), the count of records and the sum of grand total of the orders.

This open big possibilities to make Info Windows more useful.

It would be good to document in the wiki page to be created the way to get the info in postgres using:

Regards,

Carlos Ruiz

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created June 16, 2023 at 11:24 AM
Updated November 1, 2023 at 11:07 AM
Resolved September 13, 2023 at 11:52 AM