Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0020732 | Openbravo ERP | A. Platform | public | 2012-06-12 12:35 | 2012-06-28 10:22 | 
  | 
| Reporter | mtaal |   | 
| Assigned To | mtaal |   | 
| Priority | normal | Severity | major | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version | 3.0MP13 | Fixed in Version | 3.0MP13 |   | 
| Merge Request Status |  | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0020732: Implement property/computed fields | 
| Description | 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.  | 
| Steps To Reproduce | . | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | defect  | 0031769 | 3.0PR16Q3  | closed  | NaroaIriarte  | Unneeded  left joins in DefaultJsonDataService  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2012-06-12 12:35 | mtaal | New Issue |  | 
| 2012-06-12 12:35 | mtaal | Assigned To |  => mtaal | 
| 2012-06-12 12:35 | mtaal | Modules |  => Core | 
| 2012-06-12 12:35 | mtaal | OBNetwork customer |  => No | 
| 2012-06-21 12:02 | hgbot | Checkin |  | 
| 2012-06-21 12:02 | hgbot | Note Added: 0049966 |  | 
| 2012-06-21 12:02 | hgbot | Status | new => resolved | 
| 2012-06-21 12:02 | hgbot | Resolution | open => fixed | 
| 2012-06-21 12:02 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/devel/pi/rev/2452b393ee6ed24fb6b5976efc261680e0e36054 [^] | 
| 2012-06-21 12:02 | hgbot | Checkin |  | 
| 2012-06-21 12:02 | hgbot | Note Added: 0049967 |  | 
| 2012-06-21 12:03 | hgbot | Checkin |  | 
| 2012-06-21 12:03 | hgbot | Note Added: 0049973 |  | 
| 2012-06-21 12:03 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/2452b393ee6ed24fb6b5976efc261680e0e36054 [^] => http://code.openbravo.com/erp/devel/pi/rev/d2f1c91f5d3862d6da3cdc1db142304bf04e3e16 [^] | 
| 2012-06-21 12:03 | hgbot | Checkin |  | 
| 2012-06-21 12:03 | hgbot | Note Added: 0049974 |  | 
| 2012-06-21 12:03 | hgbot | Checkin |  | 
| 2012-06-21 12:03 | hgbot | Note Added: 0049977 |  | 
| 2012-06-21 12:04 | hgbot | Checkin |  | 
| 2012-06-21 12:04 | hgbot | Note Added: 0049978 |  | 
| 2012-06-27 05:28 | hudsonbot | Checkin |  | 
| 2012-06-27 05:28 | hudsonbot | Note Added: 0050137 |  | 
| 2012-06-27 05:28 | hudsonbot | Checkin |  | 
| 2012-06-27 05:28 | hudsonbot | Note Added: 0050138 |  | 
| 2012-06-27 05:28 | hudsonbot | Checkin |  | 
| 2012-06-27 05:28 | hudsonbot | Note Added: 0050143 |  | 
| 2012-06-27 05:28 | hudsonbot | Checkin |  | 
| 2012-06-27 05:28 | hudsonbot | Note Added: 0050144 |  | 
| 2012-06-27 05:29 | hudsonbot | Checkin |  | 
| 2012-06-27 05:29 | hudsonbot | Note Added: 0050147 |  | 
| 2012-06-27 05:29 | hudsonbot | Checkin |  | 
| 2012-06-27 05:29 | hudsonbot | Note Added: 0050148 |  | 
| 2012-06-28 10:22 | alostale | Note Added: 0050247 |  | 
| 2012-06-28 10:22 | alostale | Status | resolved => closed | 
| 2012-06-28 10:22 | alostale | Fixed in Version |  => 3.0MP13 | 
| 2015-12-23 16:37 | alostale | Relationship added | related 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 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			| 
				code reviewed in pi@3b4adfb72e90			 | 
		 
		 
	 |