Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0043023 | Retail Modules | Web POS | public | 2020-01-28 11:08 | 2020-01-31 11:37 | |||||||
| Reporter | kchoperena | |||||||||||
| Assigned To | ranjith_qualiantech_com | |||||||||||
| Priority | high | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | RR20Q2 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | guilleaer | |||||||||||
| OBNetwork customer | Gold | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0043023: The loadBPLocations function of BusinessPartner model is not retrieving the last created/used BPLocation | |||||||||||
| Description | The loadBPLocations is shorting the results using the c_bpartner_location_id. This orderby clause is not ensuring that the result will the last created/used location. This problem is easy to see when we have the preference 'Enable Remote for Customer' = Y | |||||||||||
| Steps To Reproduce | 1.- Config in back-end the preference 'Enable Remote for Customer' = Y 2.- Log into the WebPOS 3.- Create a customer with 5 addresses 4.- Search the customer and select it. EXPECTED RESULT: You can see that is not mandatory have the latest created/used address assigned to the ticket. | |||||||||||
| Proposed Solution | Change the orderby clause of: loadBPLocations: function (shipping, billing, callback, bpId) { | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-01-28 11:08 | kchoperena | New Issue | ||||||||||
| 2020-01-28 11:08 | kchoperena | Assigned To | => Retail | |||||||||
| 2020-01-28 11:08 | kchoperena | OBNetwork customer | => Gold | |||||||||
| 2020-01-28 11:08 | kchoperena | Resolution time | => 1581375600 | |||||||||
| 2020-01-28 11:08 | kchoperena | Triggers an Emergency Pack | => No | |||||||||
| 2020-01-29 07:35 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
| 2020-01-29 10:56 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
| 2020-01-30 08:39 | hgbot | Checkin | ||||||||||
| 2020-01-30 08:39 | hgbot | Note Added: 0117342 | ||||||||||
| 2020-01-30 08:39 | hgbot | Status | scheduled => resolved | |||||||||
| 2020-01-30 08:39 | hgbot | Resolution | open => fixed | |||||||||
| 2020-01-30 08:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8581f1f793bc6812092f8d302693a332453a9db [^] | |||||||||
| 2020-01-31 11:37 | guilleaer | Review Assigned To | => guilleaer | |||||||||
| 2020-01-31 11:37 | guilleaer | Status | resolved => closed | |||||||||
| 2020-01-31 11:37 | guilleaer | Fixed in Version | => RR20Q2 | |||||||||
| 2020-04-24 20:41 | dmitry_mezentsev | Relationship added | causes 0043838 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||