Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017119Openbravo ERPA. Platformpublic2011-05-11 13:462011-08-16 13:24
AinhoaPagola 
iperdomo 
highminorhave not tried
closedfixed 
5
pi 
3.0MP3 
Core
No
0017119: Out Fields in OBUISEL selectors not working
The out field logic defined in [1]for new selectors seems not to be working.
Following the steps of the wiki, the desired functionality is not obtained.


[1] http://wiki.openbravo.com/wiki/Projects/Selector/Developers_Manual#Defining_Out_Fields [^]
Reusing a selector and a field in Openbravo, an example could be to fill the product's UOM from the product selector in sales invoice window.

- Go to Reference and select Product selector.
- Go to Defined Selector tab.
- Go to Fields tab. Check that UOM field is checked as Outfield. Delete the prefix.

- Go to Tables and Columns and select invoiceline.
- Go to Column Product and deactivate the callout.

- Go to Windows Tab Fields and select Sales Invoice.
- Go to tab Line.
- Go to Field UOM and fill the field "selector out field". Select UOM.

Change to the admin user and go to sales invoice - line. Select a product.
The UOM does not change accordingly, although it should (as long as it is properly configured).
No tags attached.
related to defect 0018189 closed adrianromero After changing a product the sales order line can not be saved again 
related to defect 00182423.0MP3 closed iperdomo Call-outs in grid in Lines of transactional documents do not work 
Issue History
2011-05-11 13:46AinhoaPagolaNew Issue
2011-05-11 13:46AinhoaPagolaAssigned To => alostale
2011-05-11 13:46AinhoaPagolaModules => Core
2011-05-11 13:46AinhoaPagolaPrioritynormal => high
2011-05-11 13:46AinhoaPagolaIssue Monitored: networkb
2011-05-11 16:44maiteIssue Monitored: maite
2011-05-16 08:56alostaleStatusnew => scheduled
2011-05-16 08:56alostaleAssigned Toalostale => iperdomo
2011-05-16 08:56alostalefix_in_branch => pi
2011-05-24 10:34rafademiguelIssue Monitored: rafademiguel
2011-07-27 18:58iperdomoAssigned Toiperdomo => adrianromero
2011-07-27 18:58iperdomoTarget Version => 3.0MP2
2011-07-27 18:58iperdomofix_in_branchpi =>
2011-08-02 14:23hgbotCheckin
2011-08-02 14:23hgbotNote Added: 0039778
2011-08-02 14:23hgbotStatusscheduled => resolved
2011-08-02 14:23hgbotResolutionopen => fixed
2011-08-02 14:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f8298218fb6927d6fa610727fa9ff9b85b9496da [^]
2011-08-02 14:29adrianromeroNote Added: 0039780
2011-08-04 10:09hgbotCheckin
2011-08-04 10:09hgbotNote Added: 0039857
2011-08-04 10:10adrianromeroRelationship addedrelated to 0018189
2011-08-06 05:32hudsonbotCheckin
2011-08-06 05:32hudsonbotNote Added: 0039939
2011-08-06 05:33hudsonbotCheckin
2011-08-06 05:33hudsonbotNote Added: 0039961
2011-08-08 12:23iperdomoStatusresolved => new
2011-08-08 12:23iperdomoResolutionfixed => open
2011-08-08 12:23iperdomoAssigned Toadrianromero => iperdomo
2011-08-08 12:23iperdomoStatusnew => scheduled
2011-08-08 12:23iperdomofix_in_branch => pi
2011-08-08 18:37hgbotCheckin
2011-08-08 18:37hgbotNote Added: 0040009
2011-08-08 18:37hgbotStatusscheduled => resolved
2011-08-08 18:37hgbotResolutionopen => fixed
2011-08-08 18:37hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/f8298218fb6927d6fa610727fa9ff9b85b9496da [^] => http://code.openbravo.com/erp/devel/pi/rev/9fdd7c0cdc75e41f02b385326233311abaeded77 [^]
2011-08-09 08:44maiteNote Added: 0040016
2011-08-09 08:44maiteStatusresolved => closed
2011-08-09 09:49iperdomoNote Added: 0040020
2011-08-09 09:49iperdomoStatusclosed => new
2011-08-09 09:49iperdomoResolutionfixed => open
2011-08-09 09:49iperdomoStatusnew => scheduled
2011-08-09 09:50iperdomoFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/9fdd7c0cdc75e41f02b385326233311abaeded77 [^] =>
2011-08-09 09:50iperdomoTarget Version3.0MP2 => 3.0MP3
2011-08-09 09:50iperdomofix_in_branchpi =>
2011-08-09 10:35hgbotCheckin
2011-08-09 10:35hgbotNote Added: 0040026
2011-08-09 10:35hgbotStatusscheduled => resolved
2011-08-09 10:35hgbotResolutionopen => fixed
2011-08-09 10:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/455595b866c83c4e339f7e005a7fa5f8ec891864 [^]
2011-08-09 11:41hgbotCheckin
2011-08-09 11:41hgbotNote Added: 0040031
2011-08-09 11:41hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/455595b866c83c4e339f7e005a7fa5f8ec891864 [^] => http://code.openbravo.com/erp/devel/pi/rev/34f2911c23a20fc258ccfbb7388f282ac4334460 [^]
2011-08-10 11:58maiteNote Added: 0040066
2011-08-10 11:58maiteNote Added: 0040067
2011-08-10 11:58maiteStatusresolved => closed
2011-08-10 13:38iperdomoRelationship addedrelated to 0018242
2011-08-16 13:23hudsonbotCheckin
2011-08-16 13:23hudsonbotNote Added: 0040192
2011-08-16 13:24hudsonbotCheckin
2011-08-16 13:24hudsonbotNote Added: 0040200
2011-08-16 13:24hudsonbotCheckin
2011-08-16 13:24hudsonbotNote Added: 0040203

Notes
(0039778)
hgbot   
2011-08-02 14:23   
Repository: erp/devel/pi
Changeset: f8298218fb6927d6fa610727fa9ff9b85b9496da
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 02 09:13:51 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f8298218fb6927d6fa610727fa9ff9b85b9496da [^]

Fixes issue 0017119: Out Fields in OBUISEL selectors not working
It has been modified the function that handles selector out fields to assing value incase there is not out field suffix

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0039780)
adrianromero   
2011-08-02 14:29   
* Testing the issue

Follow carefully the steps to reproduce and verify that now the UOM field is properly filled with the related value of the product selected.

* Other areas affected
It only affects the behavior of out fields in defined selectors. No other area is affected.
(0039857)
hgbot   
2011-08-04 10:09   
Repository: erp/devel/pi
Changeset: c651835ae4cdc05d0438d834822130c6f2de69cf
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 04 10:08:40 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c651835ae4cdc05d0438d834822130c6f2de69cf [^]

Fixes issue 0018189: After changing a product the sales order line can not be saved again
The change applied ignores columnnames empty because audit fields do not use the column name property and must be ignored as outfields
This change is related to the issue 17119

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0039939)
hudsonbot   
2011-08-06 05:32   
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/5744448753e7 [^]

Maturity status: Test
(0039961)
hudsonbot   
2011-08-06 05:33   
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/5744448753e7 [^]

Maturity status: Test
(0040009)
hgbot   
2011-08-08 18:37   
Repository: erp/devel/pi
Changeset: 9fdd7c0cdc75e41f02b385326233311abaeded77
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Aug 08 18:36:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9fdd7c0cdc75e41f02b385326233311abaeded77 [^]

Fixes issue 17119: Compute the field name based on the type of selector widget or item

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0040016)
maite   
2011-08-09 08:44   
verified
(0040020)
iperdomo   
2011-08-09 09:49   
* Improve the code to loop in the Array, there is no need to iterate like an Object
* use name instead of fieldName when the outfield has suffix
(0040026)
hgbot   
2011-08-09 10:35   
Repository: erp/devel/pi
Changeset: 455595b866c83c4e339f7e005a7fa5f8ec891864
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Aug 09 10:14:38 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/455595b866c83c4e339f7e005a7fa5f8ec891864 [^]

Fixes issue 17119: Fixes checking again columName and improves the array loop

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0040031)
hgbot   
2011-08-09 11:41   
Repository: erp/devel/pi
Changeset: 34f2911c23a20fc258ccfbb7388f282ac4334460
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 09 11:36:49 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/34f2911c23a20fc258ccfbb7388f282ac4334460 [^]

Fixes issue 0017119: Out Fields in OBUISEL selectors not working
Improves the array loop

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0040066)
maite   
2011-08-10 11:58   
verified
(0040067)
maite   
2011-08-10 11:58   
verified
(0040192)
hudsonbot   
2011-08-16 13:23   
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/c1dc221b8cb3 [^]

Maturity status: Test
(0040200)
hudsonbot   
2011-08-16 13:24   
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/c1dc221b8cb3 [^]

Maturity status: Test
(0040203)
hudsonbot   
2011-08-16 13:24   
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/c1dc221b8cb3 [^]

Maturity status: Test