Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044464Retail ModulesContact Info for Productpublic2020-06-24 12:422020-06-29 10:37
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0044464: product contact's address lost after reload
After reloading the application and opening Item Declaration form for a ticket line that already had a customer with address, this address appears as empty.
1. With retail modules sampledata log in YS-11 terminal
2. Add basecamp lantern and select contact information
3. Reload application (F5)
4. Select basecamp ticket line
5. Click on Show more > contact info
   -> ERROR: address field appears empty
      EXPECTED: it should be filled with the address selected in step 2

Note: first steps are the same as test ProductSplitContactInfoTest
No tags attached.
Issue History
2020-06-24 12:42alostaleNew Issue
2020-06-24 12:42alostaleAssigned To => Retail
2020-06-24 12:42alostaleTriggers an Emergency Pack => No
2020-06-24 12:42alostaleAssigned ToRetail => alostale
2020-06-24 12:51hgbotCheckin
2020-06-24 12:51hgbotNote Added: 0121023
2020-06-24 12:51hgbotStatusnew => resolved
2020-06-24 12:51hgbotResolutionopen => fixed
2020-06-24 12:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.contactinfoforproduct/rev/906b8e6a53c77fb7e2d2af2e9bd9d3f5cb253dc7 [^]
2020-06-24 12:52alostaleReview Assigned To => marvintm
2020-06-29 10:37marvintmStatusresolved => closed
2020-06-29 10:37marvintmFixed in Version => RR20Q3

Notes
(0121023)
hgbot   
2020-06-24 12:51   
Repository: erp/pmods/org.openbravo.retail.contactinfoforproduct
Changeset: 906b8e6a53c77fb7e2d2af2e9bd9d3f5cb253dc7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jun 24 12:51:14 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.contactinfoforproduct/rev/906b8e6a53c77fb7e2d2af2e9bd9d3f5cb253dc7 [^]

fixed BUG-44464: product contact's address lost after reload
After reloading a persisted ticket, it's bp and address information was
not properly retrieved loosing this information when opening again the
popup.

The problem is they are initially stored as Backbone Model objects but
there is no information in Order to re-crate them from plain JS object.

---
M web/org.openbravo.retail.contactinfoforproduct/js/modalItemDeclaration.js
---