User preferences window configurable

Description

The idea is to have a way to configure the preference for each user.

https://idempiere.atlassian.net/browse/IDEMPIERE-2523
https://groups.google.com/forum/#!msg/idempiere/z1lq_6PCnow/cDtBMvec0q4J

Environment

None

Attachments

2

Activity

Show:

Hiep Lq April 24, 2015 at 6:31 PM

from my mistake, i see below case.
1. after add new column into table user preference (also create field for it). i forget run sync column.
2. I log out and can't login by error "ERROR: column "newpreference" does not exist"

I suggest add try catch to line 69, class MUserPreference.
with system user. show a warrning and still allow login to fix issue by run sync column.

Diego Ruiz April 23, 2015 at 4:19 PM

new patch uploaded fixing the errors that you found. Please check and let me know.

Regards,
Diego Ruiz
BX Service

Carlos Ruiz April 19, 2015 at 5:40 PM

still not tested - stopper for the tests:

  • there are two inserts in AD_Column (212166,212167 / AD_UserPreference_ID,AD_UserPreference_UU) referencing AD_Element_ID>=1000000

  • there is also an update on AD_TreeNodeMM for Node_ID=1000000 - I think it can be deleted safely

Diego Ruiz April 18, 2015 at 12:54 AM

Please check the attached patch and review it.

The patch allows to have user preferences customization by adding columns to ad_userpreference.

If they're marked as QuickEntry they are displayed in the preference popup.
By default a new Record of UserPreference is created for the users that click on the Preference's link.

Regards,
Diego Ruiz
BX Service

Fixed

Details

Assignee

Reporter

Priority

Created April 1, 2015 at 3:07 PM
Updated March 9, 2017 at 10:46 AM
Resolved April 24, 2015 at 5:09 PM