Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055060Openbravo ERPA. Platformpublic2024-03-26 18:332024-03-26 18:36
caristu 
Triage Platform Base 
highminorhave not tried
newopen 
5
 
 
Core
No
0055060: Property fields show wrong values under some circumstances
Property fields show wrong values under some circumstances: it may not be calculated properly when creating a new record.
1- Create a new property field in the Lines subtab of the Sales Order window:
   - Name: test
   - property: product._identifier
2- Go to the Sales Order window, create a new record in the header
3- Switch to the Lines subtab, click on create new in form view, note that the value that appears on the new field is the identifier of the parent record instead of the expected one (the product identifier in this case)

Note that if the record is now refreshed it will show the correct value
Here [1] the value of the property is calculated based on the parent record which is not correct in this case.

TBD: Maybe is less confusing if in this case null is returned?. Once the record is refreshed it will reflect the correct value

[1] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java?ref_type=heads#L672 [^]
No tags attached.
related to defect 00257543.0PR14Q2 closed shankarb Openbravo ERP Wrong behavior when calculating the value of a property field for a new record (FIC) 
related to feature request 0054697 closed andrea_lopez Modules Delivery Notes - BackOffice Data Model and Document 
Issue History
2024-03-26 18:33caristuNew Issue
2024-03-26 18:33caristuAssigned To => Triage Platform Base
2024-03-26 18:33caristuModules => Core
2024-03-26 18:33caristuTriggers an Emergency Pack => No
2024-03-26 18:34caristuProposed Solution updated
2024-03-26 18:34caristuRelationship addedrelated to 0054697
2024-03-26 18:36caristuRelationship addedrelated to 0025754

There are no notes attached to this issue.