Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020732Openbravo ERPA. Platformpublic2012-06-12 12:352012-06-28 10:22
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP133.0MP13 
Core
No
0020732: Implement property/computed fields
Make it possible to add fields to a tab which point to/show referenced information, for example from the sales invoice line window the following fields should be possible:
invoice.businessPartner
invoice.businessPartner.name

Only many-to-one associations need to be supported.
.
No tags attached.
related to defect 00317693.0PR16Q3 closed NaroaIriarte Unneeded left joins in DefaultJsonDataService 
Issue History
2012-06-12 12:35mtaalNew Issue
2012-06-12 12:35mtaalAssigned To => mtaal
2012-06-12 12:35mtaalModules => Core
2012-06-21 12:02hgbotCheckin
2012-06-21 12:02hgbotNote Added: 0049966
2012-06-21 12:02hgbotStatusnew => resolved
2012-06-21 12:02hgbotResolutionopen => fixed
2012-06-21 12:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2452b393ee6ed24fb6b5976efc261680e0e36054 [^]
2012-06-21 12:02hgbotCheckin
2012-06-21 12:02hgbotNote Added: 0049967
2012-06-21 12:03hgbotCheckin
2012-06-21 12:03hgbotNote Added: 0049973
2012-06-21 12:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/2452b393ee6ed24fb6b5976efc261680e0e36054 [^] => http://code.openbravo.com/erp/devel/pi/rev/d2f1c91f5d3862d6da3cdc1db142304bf04e3e16 [^]
2012-06-21 12:03hgbotCheckin
2012-06-21 12:03hgbotNote Added: 0049974
2012-06-21 12:03hgbotCheckin
2012-06-21 12:03hgbotNote Added: 0049977
2012-06-21 12:04hgbotCheckin
2012-06-21 12:04hgbotNote Added: 0049978
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050137
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050138
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050143
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050144
2012-06-27 05:29hudsonbotCheckin
2012-06-27 05:29hudsonbotNote Added: 0050147
2012-06-27 05:29hudsonbotCheckin
2012-06-27 05:29hudsonbotNote Added: 0050148
2012-06-28 10:22alostaleNote Added: 0050247
2012-06-28 10:22alostaleStatusresolved => closed
2012-06-28 10:22alostaleFixed in Version => 3.0MP13
2015-12-23 16:37alostaleRelationship addedrelated to 0031769

Notes
(0049966)
hgbot   
2012-06-21 12:02   
Repository: erp/devel/pi
Changeset: 2452b393ee6ed24fb6b5976efc261680e0e36054
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 13 05:52:49 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2452b393ee6ed24fb6b5976efc261680e0e36054 [^]

Fixes issue 20732: Implement property/computed fields

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
M src-db/database/model/tables/AD_FIELD.xml
M src-db/database/model/triggers/AD_FIELD_MOD_TRG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-wad/src/org/openbravo/wad/EditionFields_data.xsql
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src-wad/src/org/openbravo/wad/ProcessRelation_data.xsql
M src/org/openbravo/dal/core/DalUtil.java
---
(0049967)
hgbot   
2012-06-21 12:02   
Repository: erp/devel/pi
Changeset: 083d3fbba2f5f87e0271d4c44ca5283935da2f45
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 13 06:21:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/083d3fbba2f5f87e0271d4c44ca5283935da2f45 [^]

Related to issue 20732: Implement property/computed fields
Solve issue that right click in grid cell does not work for multi-step properties

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0049973)
hgbot   
2012-06-21 12:03   
Repository: erp/devel/pi
Changeset: d2f1c91f5d3862d6da3cdc1db142304bf04e3e16
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 13 12:27:35 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d2f1c91f5d3862d6da3cdc1db142304bf04e3e16 [^]

Fixes issue 20732: Implement property/computed fields
Join the property paths in the query to prevent extra queries because of property paths

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataEntityQueryService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
(0049974)
hgbot   
2012-06-21 12:03   
Repository: erp/devel/pi
Changeset: 336ff2bf8aec10ab623119e800c5a53abb2964ea
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 13 12:28:02 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/336ff2bf8aec10ab623119e800c5a53abb2964ea [^]

Related to issue 20732: Implement property/computed fields
Add the field handler which sets the column in the ad_field

---
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/FieldHandler.java
---
(0049977)
hgbot   
2012-06-21 12:03   
Repository: erp/devel/pi
Changeset: cd74cef2dc41f243d101ad80449e5934893e6501
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Jun 14 13:38:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cd74cef2dc41f243d101ad80449e5934893e6501 [^]

Related to issue 20732: Implement property/computed fields
Made wad generation more efficient

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/FieldHandler.java
M modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/model/tables/AD_FIELD.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-wad/src/org/openbravo/wad/EditionFields_data.xsql
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src-wad/src/org/openbravo/wad/ProcessRelation_data.xsql
---
(0049978)
hgbot   
2012-06-21 12:04   
Repository: erp/devel/pi
Changeset: e84e559bbd659948ed3c7d60cc0a3517db658792
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 15 14:11:03 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e84e559bbd659948ed3c7d60cc0a3517db658792 [^]

Related to issue 20732: Implement property/computed fields
Also export ignoreinwad for module ad_field records

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_FIELD.xml
---
(0050137)
hudsonbot   
2012-06-27 05:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050138)
hudsonbot   
2012-06-27 05:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050143)
hudsonbot   
2012-06-27 05:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050144)
hudsonbot   
2012-06-27 05:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050147)
hudsonbot   
2012-06-27 05:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050148)
hudsonbot   
2012-06-27 05:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test
(0050247)
alostale   
2012-06-28 10:22   
code reviewed in pi@3b4adfb72e90