Contextual Menu for Info Window Parameters


info window doesnt have implemented right click contextual menu.

minimal requirements
1. implement regular contextual menu
2. implement value preferences




Tomáš Švikruha
October 7, 2014, 6:15 AM

I've tested it with additional patch and works fine (without last patch old value preferences was not loaded in info window processes).

Hiep Lq
December 12, 2014, 4:52 AM

combine all to one patch to easy apply

Carlos Ruiz
January 14, 2015, 3:03 PM

bringing chat from IRC:

<CarlosRuiz> hieplq, I integrated
<CarlosRuiz> tested with InfoProduct - set a value preference for warehouse (also tested with SKU)
<CarlosRuiz> re-login
<CarlosRuiz> opened info window again but the value preference is not shown
<hieplq> wait me point it .
<CarlosRuiz> ah - but a value preference is to set a default value for user - and if there is a default set by dictionary - the default dict must prevail
<hieplq> comment out line it will ok with other !Util.isEmpty(mField.getVO().DefaultValue, true)
<CarlosRuiz> which class?
<hieplq> it in infowindow
<hieplq> this purpose of this line is void default value type set to field. without this line, all number field will load with 0 (want null)
<hieplq> for test you can comment out this code. i will make a complete patch for it at tomorro
<CarlosRuiz> ok - will comment on ticket

Hiep Lq
August 1, 2015, 3:21 PM

preference don't work with field without default value is fix at experiental repository.
just remove condition !Util.isEmpty(mField.getVO().DefaultValue, true)

Diego Ruiz
August 12, 2015, 2:22 PM


Test case.
Open Business Partner Info from Sales Order and set the value preference as XXX in the name Field for SuperUser. Then open the Business Partner Info from Invoice (Customer) and set the value preference as YYY for field Name. Logout and re login, Values are still there as expected.

Login as GardenAdmin and did the whole process again.

The result was that both users have the value preferences that were set as expected.

I see no problem in this ticket

Diego Ruiz


Hiep Lq


Norbert Bede

Tested By

Carlos Ruiz
Diego Ruiz


Affects versions