Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030948 | Openbravo ERP | A. Platform | public | 2015-09-28 12:29 | 2015-11-23 21:16 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | urgent | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q1 | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030948: auxiliary input used to default a FK doesn't display FK's value identifier |
Description | When an auxiliary input is used to set a default value for a FK field, it is correctly calculated but the identifier does not appear in the UI. |
Steps To Reproduce | -Backout changeset for issue 0030495, so auxiliary input for C_BPartner_ID in Purchase Invoice > Lines tab is @C_BPartner_ID@
-Go to Purchase Invoice and create a new Header
-In grid view show BP field in Lines tab
-Create a new record in grid view
-> INCORRECT: check BP field is empty -> expected header's BP to be shown
-Save
-> Check the BP field shows the Header's BP, which is correct as it was defaulted by the Auxiliary input |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030927 | | closed | alostale | Auxiliary Input value is shown in Form view if its name is the same than the column associated to the field of the tab | related to | defect | 0030495 | | closed | aferraz | Business Partner dimension is overwritten in Invoice Lines if another field is updated after changing it | related to | defect | 0030993 | 3.0PR16Q1 | closed | alostale | It is not possible to define a preference as default value when column has a default defined in ad_column |
|
Attached Files | 30948.export (4,415) 2015-09-29 07:45 https://issues.openbravo.com/file_download.php?file_id=8489&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-28 12:29 | alostale | New Issue | |
2015-09-28 12:29 | alostale | Assigned To | => platform |
2015-09-28 12:29 | alostale | Modules | => Core |
2015-09-28 12:29 | alostale | Triggers an Emergency Pack | => No |
2015-09-28 12:29 | alostale | Relationship added | related to 0030927 |
2015-09-28 12:29 | alostale | Relationship added | related to 0030495 |
2015-09-28 13:18 | alostale | Status | new => scheduled |
2015-09-28 13:18 | alostale | Assigned To | platform => alostale |
2015-09-28 13:19 | alostale | Review Assigned To | => AugustoMauch |
2015-09-29 07:45 | alostale | File Added: 30948.export | |
2015-09-29 07:46 | alostale | Note Added: 0080679 | |
2015-09-29 13:14 | alostale | Target Version | => 3.0PR16Q1 |
2015-10-05 09:55 | alostale | Relationship added | related to 0030993 |
2015-10-05 10:12 | hgbot | Checkin | |
2015-10-05 10:12 | hgbot | Note Added: 0080810 | |
2015-10-05 10:12 | hgbot | Status | scheduled => resolved |
2015-10-05 10:12 | hgbot | Resolution | open => fixed |
2015-10-05 10:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f1f0e628b7d9b85f8804fb67cb15d1c2de86fb81 [^] |
2015-10-20 17:02 | AugustoMauch | Note Added: 0081141 | |
2015-10-20 17:02 | AugustoMauch | Status | resolved => closed |
2015-10-20 17:02 | AugustoMauch | Fixed in Version | => 3.0PR16Q1 |
2015-11-23 21:16 | hudsonbot | Checkin | |
2015-11-23 21:16 | hudsonbot | Note Added: 0082108 | |
Notes |
|
|
|
|
(0080810)
|
hgbot
|
2015-10-05 10:12
|
|
Repository: erp/devel/pi
Changeset: f1f0e628b7d9b85f8804fb67cb15d1c2de86fb81
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Sep 28 13:17:45 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f1f0e628b7d9b85f8804fb67cb15d1c2de86fb81 [^]
fixed bug 30948: auxiliary input to default a FK doesn't display identifier
When an auxiliary input is used to default a FK value, its value was correctly
calculated but it's identifier was not, this made the UI not to display the
identifier on NEW, but to correctly set it being visible after save.
This has been fixed by detecting this special case, when in this situation:
- Value is calculated in computeAuxiliaryInputs method, including also its
identifier (obtained from field's ui defintion)
- Value is not calculated in computeColumnValues method because it has already
been computed
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
|
|
|
|
Code reviewed and verified in pi@6a34fdef3d70 |
|
|
|
|