Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027061Openbravo ERPA. Platformpublic2014-07-14 11:342014-08-08 18:53
AugustoMauch 
shankarb 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR14Q33.0PR14Q4 
AugustoMauch
Core
Coding ( Testing )
2014-05-26
main
https://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^]
No
0027061: Sales Representative field is not initialized properly
The Sales Representative field of the Sales Order window is not being initialized properly.

It should not have any value by default (its column does not have a default value and it is not stored in session), but when creating a new sales order, the first sales representative is automatically selected.
As F&B Admin:
- Open the Sales Order window.
- Create a new record
- Open the More Information field group and check that the Sales Representative field is not empty. It should be.
No tags attached.
related to feature request 00262673.0PR14Q3 closed shankarb Re-implement combos (table and tableDir) to use datasources 
Issue History
2014-07-14 11:34AugustoMauchNew Issue
2014-07-14 11:34AugustoMauchAssigned To => shankarb
2014-07-14 11:34AugustoMauchModules => Core
2014-07-14 11:34AugustoMauchTriggers an Emergency Pack => No
2014-07-14 11:36AugustoMauchRegression level => Coding ( Testing )
2014-07-14 11:36AugustoMauchRegression date => 2014-05-26
2014-07-14 11:36AugustoMauchRegression introduced in release => main
2014-07-14 11:36AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^]
2014-07-14 11:37AugustoMauchRelationship addedrelated to 0026267
2014-07-14 20:11shankarbAssigned Toshankarb => AugustoMauch
2014-07-14 20:12shankarbIssue Monitored: AugustoMauch
2014-07-14 20:12shankarbReview Assigned To => AugustoMauch
2014-07-14 20:12hgbotCheckin
2014-07-14 20:12hgbotNote Added: 0068630
2014-07-14 20:12hgbotStatusnew => resolved
2014-07-14 20:12hgbotResolutionopen => fixed
2014-07-14 20:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a8dd66d3ca9bada76bcbba2f9a3bbf8aa5334885 [^]
2014-07-16 10:21shuehnerAssigned ToAugustoMauch => shankarb
2014-07-17 16:19AugustoMauchNote Added: 0068706
2014-07-17 16:19AugustoMauchStatusresolved => closed
2014-07-17 16:19AugustoMauchFixed in Version => 3.0PR14Q4
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069159

Notes
(0068630)
hgbot   
2014-07-14 20:12   
Repository: erp/devel/pi
Changeset: a8dd66d3ca9bada76bcbba2f9a3bbf8aa5334885
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Jul 14 16:23:48 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a8dd66d3ca9bada76bcbba2f9a3bbf8aa5334885 [^]

Fixes Issue 27061: Sales Representative field is not initialized properly

In the combos project, the FIC always returned one value when opening/editing a record.
To achieve this, whenever columnValue was present it was used. But there are cases where columnValue is the session value.
So setting the first element only if it matches with the columnValue now. Or else removing the value as it is not needed.
When the dropdown is clicked, data is fetched from ComboTableDatasourceService, so it is not affected with this change.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
---
(0068706)
AugustoMauch   
2014-07-17 16:19   
Code reviewed and verified in pi@a8dd66d3ca9b
(0069159)
hudsonbot   
2014-08-08 18:53   
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/4450016dee64 [^]
Maturity status: Test