Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017637Openbravo ERPA. Platformpublic2011-06-14 12:162011-07-06 02:41
xabiermerino 
alostale 
urgentmajoralways
closedfixed 
5
3.0RC7 
3.0MP1 
Core
No
0017637: Wrong behaviour if you clear a selector's value
You have a field (combo) with a table reference. This table reference has a SQL Where Clause that refers to a selector's value. If you select a value, the combo has correct values.
If you clear the selector's value (clicking in the red X), the combo still has same values. This change should refresh combo values.
- Create a new table reference:
    - Table: C_ProjectPhase
    - Key Column: C_Projectphase_ID
    - Displayed Column: Name
    - SQL Where Clause: C_PROJECT_ID=@C_PROJECT_ID@ AND ISACTIVE='Y'
    - SQL Order by Clause: SEQNO
- Create a new column in C_invoice
- In AD >> Column >> Reference: Table >> Reference Search Key: reference created.
- In AD >> Field >> Field Group: Reference
- Create a multiphase project with phases.
- Go to Sales Invoice
- Select a project
- Realize that the combo created has project's phases.
- Select one
- Save
- Click in the red X
- Realize that the combo still has values.
- Save
No tags attached.
Issue History
2011-06-14 12:16xabiermerinoNew Issue
2011-06-14 12:16xabiermerinoAssigned To => alostale
2011-06-14 12:16xabiermerinoModules => Core
2011-06-14 12:16xabiermerinoIssue Monitored: networkb
2011-06-28 10:53hgbotCheckin
2011-06-28 10:53hgbotNote Added: 0038556
2011-06-28 10:53hgbotStatusnew => resolved
2011-06-28 10:53hgbotResolutionopen => fixed
2011-06-28 10:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9c16d3980a8d968bc114d00017af878d6fb33d20 [^]
2011-07-01 13:29xabiermerinoNote Added: 0038679
2011-07-01 13:29xabiermerinoStatusresolved => closed
2011-07-06 02:41hudsonbotCheckin
2011-07-06 02:41hudsonbotNote Added: 0038813

Notes
(0038556)
hgbot   
2011-06-28 10:53   
Repository: erp/devel/pi
Changeset: 9c16d3980a8d968bc114d00017af878d6fb33d20
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jun 28 10:53:01 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9c16d3980a8d968bc114d00017af878d6fb33d20 [^]

fixed bug 17637: Clear search field executes validations

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-search.js
---
(0038679)
xabiermerino   
2011-07-01 13:29   
verified
(0038813)
hudsonbot   
2011-07-06 02:41   
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/f1c481b1a146 [^]

Maturity status: Test