Notes |
|
(0057423)
|
jonalegriaesarte
|
2013-03-25 14:34
|
|
Changed to MP23 due to other priorities |
|
|
(0058369)
|
jonalegriaesarte
|
2013-04-30 19:23
|
|
|
|
(0058678)
|
hgbot
|
2013-05-17 09:24
|
|
Repository: erp/devel/pi
Changeset: 224f9a8878c9b2e5d423d543c7daa44adb198fc2
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri May 17 09:24:22 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/224f9a8878c9b2e5d423d543c7daa44adb198fc2 [^]
Related to issue 23078: ID of the default module is no longer stored in session
When a module is set as default, its ID used to be stored in session with the @AD_MODULE_ID@ key. The problem is that when a validation uses the value of a module combo, and no option is selected in the combo, the validation will use the ID of the default module instead of the one selected in the combo (empty string in this case).
This has been solved by preventing the ID of the default module to be stored in session. Module fields can now be initialized to be initialized with the default module using its column default value.
---
M src/org/openbravo/base/secureApp/DefaultSessionValues_data.xsql
---
|
|
|
(0058679)
|
hgbot
|
2013-05-17 10:23
|
|
Repository: erp/devel/pi
Changeset: 1150aa0cfdf3d9caf409ea0e276e6886dd7ea25c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri May 17 10:21:19 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1150aa0cfdf3d9caf409ea0e276e6886dd7ea25c [^]
Fixes issue 23078: Updated the default value of AD_MODULE_ID columns
The ID of the default module is no longer stored in session, so now AD_MODULE_ID columns need this default value to be initialized with the default module: @SQL=SELECT MAX(AD_MODULE_ID) FROM AD_MODULE WHERE ISDEFAULT='Y'
This default value has been set to all mandatory, displayed columns that belong to non read only tabs.
---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
|
The default value of the ad_module_id columns of the following tables have been updated: OBSERDS_Datasource, PromotionType, OBUIAPP_Menu_Parameters, OBUIAPP_NavigationBarComponent, OBCLKER_UIDefinition, OBCLKER_Template, OBUIAPP_View_Implementation |
|
|
|
|
|
|
|
|
|
Reopening it:
After the fix, module's default value for some child tabs is the module marked as default and not the one of its parent.
Example:
-Having module A and B in development, B default
-Create a new Menu entry for module A
-Create a new Menu Parameters window -> By default it takes B, but it should be A
This should work in the same way Window and Tabs works. |
|
|
(0059073)
|
hgbot
|
2013-05-30 13:39
|
|
Repository: erp/devel/pi
Changeset: 7331622675df1b2abf4995fab7661f5b0252800e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 30 13:35:27 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7331622675df1b2abf4995fab7661f5b0252800e [^]
Fixes issue 23078: Child tabs use parent ad_module_id as default
The module column of child tabs should not be defaulted to the module flagged as default, but to the module of the record parent. This has been fixed for the module columns for the Menu - Menu Parameters and the Reference - User Interface Definition tabs.
---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
|
|
|
|
|