Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044270Openbravo ERPA. Platformpublic2020-06-03 09:402022-02-01 07:24
cberner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0044270: Audit columns are added by default in HQL/Datasource based grids when columns not present
By default audit columns get added to grids/views when those are not present as columns in the HQL/Datasource based table. A check should be made to add this columns only when present in the source table.
1. Open "Purchase Invoice" window
2. Select a record
3. Click on "Create Lines From Receipt"
4. Right click on filter -> Columns
Audit columns are present: [Creation date, Created by, updated, updated by]

If you add them those will be empty, as they are not in present the HQL based table source of this window.
Check where audit columns are added in OBViewFieldHandler.java(line 239) and in case of HQL/Datasource based table, check if those columns are or not present.
No tags attached.
related to defect 0044058 closed AtulOpenbravo The Creation Date,  Created By, Update Date, Updated By fields appear blank in the Create Line from Order and Create Line from R 
Issue History
2020-06-03 09:40cbernerNew Issue
2020-06-03 09:40cbernerAssigned To => platform
2020-06-03 09:40cbernerModules => Core
2020-06-03 09:40cbernerTriggers an Emergency Pack => No
2020-06-03 09:41cbernerRelationship addedrelated to 0044058
2022-02-01 07:24alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.