Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047454Retail ModulesContact Info for Productpublic2021-07-24 00:012021-08-09 10:52
collazoandy4 
rqueralta 
urgentmajorhave not tried
closedfixed 
5
 
 
No
0047454: JS exception in C&R with a item declaration product
When a C&R is created for a item declaration product and this information is updated a JS exception is shown because the bPartnerLoc property is undefined in the popup.

When the onChangeBPartner event is executed the bPartnerLoc property is set to undefined in changeBPartnerLoc because locationBillModel or locationModel properties are present in the bp object
Log in As White Valley Group Admin Role
Update Avalanche product to Item declaration = Y
Log in YS-11 Pos Terminal
Set Carl Studson as business partner
Add Avalanche product to the receipt and define the Item declaration values
Set as Layaway this receipt
Layaway the receipt
Open the receipt
Cancel and Replace the receipt
Select the line and open Contact Info popup
Update the popup and click on Apply button and check a JS exception is shown in the console
Load the location properties from bp object or set the current location model before execute the onChangeBPartner event
No tags attached.
Issue History
2021-07-24 00:01collazoandy4New Issue
2021-07-24 00:01collazoandy4Assigned To => Retail
2021-07-24 00:01collazoandy4Resolution time => 1628200800
2021-07-24 00:01collazoandy4Triggers an Emergency Pack => No
2021-07-26 22:41rqueraltaAssigned ToRetail => rqueralta
2021-07-26 22:41rqueraltaStatusnew => scheduled
2021-07-30 22:45hgbotNote Added: 0130916
2021-07-30 22:46hgbotNote Added: 0130917
2021-08-03 11:12kchoperenaPrioritynormal => urgent
2021-08-04 20:50hgbotNote Added: 0130978
2021-08-09 10:52hgbotResolutionopen => fixed
2021-08-09 10:52hgbotStatusscheduled => closed
2021-08-09 10:52hgbotNote Added: 0131036
2021-08-09 10:52hgbotNote Added: 0131037

Notes
(0130916)
hgbot   
2021-07-30 22:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct/-/merge_requests/11 [^]
(0130917)
hgbot   
2021-07-30 22:46   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct/-/merge_requests/11 [^]
(0130978)
hgbot   
2021-08-04 20:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct/-/merge_requests/12 [^]
(0131036)
hgbot   
2021-08-09 10:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct [^]
Changeset: 27967e5e4c5162d853d41ee5fc393133fb252c83
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-08-03T22:07:37-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct/-/commit/27967e5e4c5162d853d41ee5fc393133fb252c83 [^]

Fixed BUG-47454: Loaded location properties from bp object

---
M web/org.openbravo.retail.contactinfoforproduct/js/modalItemDeclaration.js
---
(0131037)
hgbot   
2021-08-09 10:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.contactinfoforproduct/-/merge_requests/12 [^]