Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019122Openbravo ERPA. Platformpublic2011-11-21 15:522011-11-30 13:49
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP6 
Core
No
0019122: Support calculated fields
Placeholder to implement calculated fields.

Project page:
http://wiki.openbravo.com/wiki/Projects/CanvasField [^]
http://wiki.openbravo.com/wiki/Projects/CanvasField [^]
No tags attached.
related to design defect 0019205 acknowledged Triage Platform Base Values too tight to the edges in grid 
related to defect 00193233.0MP7 closed mtaal Shown in grid, not displayed fields are not editable 
related to feature request 0022901 closed dbaz Add "clientClass" field to QueryList widget and standarize its definition way 
Issue History
2011-11-21 15:52mtaalNew Issue
2011-11-21 15:52mtaalAssigned To => mtaal
2011-11-21 15:52mtaalModules => Core
2011-11-21 16:58mtaalNote Added: 0043013
2011-11-21 16:59mtaalNote Added: 0043014
2011-11-21 17:08mtaalNote Added: 0043015
2011-11-21 17:29mtaalNote Added: 0043017
2011-11-23 15:45hgbotCheckin
2011-11-23 15:45hgbotNote Added: 0043107
2011-11-25 13:35hgbotCheckin
2011-11-25 13:35hgbotNote Added: 0043216
2011-11-25 14:11hgbotCheckin
2011-11-25 14:11hgbotNote Added: 0043310
2011-11-25 14:11hgbotStatusnew => resolved
2011-11-25 14:11hgbotResolutionopen => fixed
2011-11-25 14:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dfee4d514c2b27ba2e6e33591e060b7f56c748a1 [^]
2011-11-25 14:11hgbotCheckin
2011-11-25 14:11hgbotNote Added: 0043311
2011-11-25 14:11hgbotCheckin
2011-11-25 14:11hgbotNote Added: 0043313
2011-11-25 14:12hgbotCheckin
2011-11-25 14:12hgbotNote Added: 0043316
2011-11-25 14:13hgbotCheckin
2011-11-25 14:13hgbotNote Added: 0043321
2011-11-25 14:13hgbotCheckin
2011-11-25 14:13hgbotNote Added: 0043322
2011-11-25 14:13hgbotCheckin
2011-11-25 14:13hgbotNote Added: 0043324
2011-11-25 14:13hgbotCheckin
2011-11-25 14:13hgbotNote Added: 0043325
2011-11-25 14:16hgbotCheckin
2011-11-25 14:16hgbotNote Added: 0043332
2011-11-25 14:16hgbotCheckin
2011-11-25 14:16hgbotNote Added: 0043333
2011-11-30 12:35hudsonbotCheckin
2011-11-30 12:35hudsonbotNote Added: 0043531
2011-11-30 12:35hudsonbotCheckin
2011-11-30 12:35hudsonbotNote Added: 0043532
2011-11-30 12:35hudsonbotCheckin
2011-11-30 12:35hudsonbotNote Added: 0043534
2011-11-30 12:35hudsonbotCheckin
2011-11-30 12:35hudsonbotNote Added: 0043537
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043542
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043543
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043545
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043546
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043553
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043554
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043558
2011-11-30 13:05rgorisRelationship addedrelated to 0019205
2011-11-30 13:49iperdomoNote Added: 0043582
2011-11-30 13:49iperdomoStatusresolved => closed
2011-12-16 17:36alostaleRelationship addedrelated to 0019323
2013-01-26 16:21dbazRelationship addedrelated to 0022901

Notes
(0043013)
mtaal   
2011-11-21 16:58   
Documentation/HowTo available here:
http://wiki.openbravo.com/wiki/How_to_add_a_canvas_field_to_a_Form_or_Grid [^]
(0043014)
mtaal   
2011-11-21 16:59   
The following example module changesets are related:
https://code.openbravo.com/erp/mods/org.openbravo.client.application.examples/rev/6a81a3ce464d [^]

https://code.openbravo.com/erp/mods/org.openbravo.client.application.examples/rev/eaeccecd9887 [^]
(0043015)
mtaal   
2011-11-21 17:08   
https://code.openbravo.com/erp/devel/pi-pne/rev/dfee4d514c2b [^]
(0043017)
mtaal   
2011-11-21 17:29   
https://code.openbravo.com/erp/devel/pi-pne/rev/e0d7611afebf [^]
(0043107)
hgbot   
2011-11-23 15:45   
Repository: erp/pmods/org.openbravo.ezattributes
Changeset: bc1d874752aa941fc461830e5a518bc683805a62
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 23 15:45:37 2011 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.ezattributes/rev/bc1d874752aa941fc461830e5a518bc683805a62 [^]

Related to issue 19122: Support calculated fields
Add extra check for null-column

---
M src/org/openbravo/ezattributes/processes/GenerateProcess.java
---
(0043216)
hgbot   
2011-11-25 13:35   
Repository: erp/devel/pi
Changeset: fd240c5b543573b1b59d92e89750d97287e822af
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Nov 25 13:31:16 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fd240c5b543573b1b59d92e89750d97287e822af [^]

Issue 19122: Added _title _value to statusbar fields

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
---
(0043310)
hgbot   
2011-11-25 14:11   
Repository: erp/devel/pi
Changeset: dfee4d514c2b27ba2e6e33591e060b7f56c748a1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Nov 21 17:07:09 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dfee4d514c2b27ba2e6e33591e060b7f56c748a1 [^]

Fixes issue 19122: Support calculated fields

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationUtils.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/DynamicExpressionParser.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-personalization-form.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.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/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.css
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.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_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0043311)
hgbot   
2011-11-25 14:11   
Repository: erp/devel/pi
Changeset: e0d7611afebfb06385f0ff55963a0a70da39b212
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Nov 21 17:28:14 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e0d7611afebfb06385f0ff55963a0a70da39b212 [^]

Related to issue 19122: Support calculated fields

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.js
---
(0043313)
hgbot   
2011-11-25 14:11   
Repository: erp/devel/pi
Changeset: 5242541aa34047633e31b035bec4bf5483ef109b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Nov 22 10:25:30 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5242541aa34047633e31b035bec4bf5483ef109b [^]

Related to issue 19122: Support calculated fields

---
A modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
---
(0043316)
hgbot   
2011-11-25 14:12   
Repository: erp/devel/pi
Changeset: ed611a5fd8f27202fcb0bd173256a2336133a065
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Nov 22 11:31:20 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ed611a5fd8f27202fcb0bd173256a2336133a065 [^]

Related to issue 19122: Support calculated fields
Restore accidentally removed field record

---
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0043321)
hgbot   
2011-11-25 14:13   
Repository: erp/devel/pi
Changeset: 5a217ab385aa1515f4363a0d7fd2d7b9d43048c8
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 23 08:51:01 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5a217ab385aa1515f4363a0d7fd2d7b9d43048c8 [^]

Related to issue 19122: Support calculated fields
Solved issue with record component not showing
Hide some fields in field tab if ad_column is null
Added some if statements for extra safety

---
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.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
M modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/erpCommon/businessUtility/AuditTrailPopup.java
---
(0043322)
hgbot   
2011-11-25 14:13   
Repository: erp/devel/pi
Changeset: bfcc25ec35b1e573b6a65694206f07a02d637e72
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 23 10:16:13 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bfcc25ec35b1e573b6a65694206f07a02d637e72 [^]

Related to issue 19122: Support calculated fields
Increased robustness for specific error situations

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0043324)
hgbot   
2011-11-25 14:13   
Repository: erp/devel/pi
Changeset: 7c731bc2cb3b712ae90207c6c4d49b9ce01a4fae
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 23 14:33:12 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c731bc2cb3b712ae90207c6c4d49b9ce01a4fae [^]

Related to issue 19122: Support calculated fields
Made sure that calc fields can not be dragged into status bar in form layouter

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-personalization-form.js.ftl
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization-treegrid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js
---
(0043325)
hgbot   
2011-11-25 14:13   
Repository: erp/devel/pi
Changeset: ef95eb8c2f78602d3e0aa8dd28561c13acd4fef1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 23 16:58:28 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ef95eb8c2f78602d3e0aa8dd28561c13acd4fef1 [^]

Related to issue 19122: Support calculated fields
Solved final issue that save/cancel icons where not shown for new grid row

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0043332)
hgbot   
2011-11-25 14:16   
Repository: erp/devel/pi
Changeset: 8374b432352f0b646d49673dd9983b3fc49d3e00
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Nov 24 18:21:44 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8374b432352f0b646d49673dd9983b3fc49d3e00 [^]

Related to issue 19122: Support calculated fields

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization-treegrid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-statusbar-styles.js
---
(0043333)
hgbot   
2011-11-25 14:16   
Repository: erp/devel/pi
Changeset: 62263554520ecc72fe14a227979f7043d336484f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Nov 24 22:38:08 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/62263554520ecc72fe14a227979f7043d336484f [^]

Related to issue 19122: Support calculated fields

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0043531)
hudsonbot   
2011-11-30 12:35   
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/01809c7b3135 [^]

Maturity status: Test
(0043532)
hudsonbot   
2011-11-30 12:35   
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/01809c7b3135 [^]

Maturity status: Test
(0043534)
hudsonbot   
2011-11-30 12:35   
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/01809c7b3135 [^]

Maturity status: Test
(0043537)
hudsonbot   
2011-11-30 12:35   
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/01809c7b3135 [^]

Maturity status: Test
(0043542)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043543)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043545)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043546)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043553)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043554)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043558)
hudsonbot   
2011-11-30 12:36   
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/01809c7b3135 [^]

Maturity status: Test
(0043582)
iperdomo   
2011-11-30 13:49   
Tested on pi @ rev 1a06ff3266eb