Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031113 | Retail Modules | Web POS | public | 2015-10-08 17:56 | 2015-10-23 14:38 | |||||||
Reporter | daniOpenbravo | |||||||||||
Assigned To | Orekaria | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 30 | OS Version | 14.04 | ||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | RR16Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0031113: Error shown in Web POS when loading quotations/layaways/receipts when Sales Representative is null. | |||||||||||
Description | An error is shown in Web POS when we try to load a quotation/layaway/receipt if in backend the field Sales Representative is empty. | |||||||||||
Steps To Reproduce | A) 0. log into the webpos 1. create a new receipt with an empty sales representative 2. pay the receipt 3. in the menu, open the receipt option. open the previously created receipt 4. verify that the webpos is blocked in the loading screen B) 1. Log in Web POS (user vallblanca). 2. Go to menu and select "Create quotation" option. 3. Click on search button and add a product. 4. Validate the quotation. 5. Log in the ERP. 6. Go to Sales Quotation window and search the quotation created on step 4. 7. Left Sales Representative field empty and save the record. 8. Log in again in Web POS (user vallblanca). 9. Go to menu and select "Quotation" option. 10. Load the quotation created on step 4. 11. Check that an error is shown and Web POS is blocked. | |||||||||||
Proposed Solution | In PaidReceipts.java file, when the code get the orderId, try to join with SalesRepresentative or in PaidReceiptProperties file, replace the following line: add(new HQLProperty("ord.salesRepresentative.id", "salesRepresentative")); with this code: add(new HQLProperty("case when ord.salesRepresentative is null then '' else ord.salesRepresentative.id end", "salesRepresentative")); | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | errorPOS.png (289,801) 2015-10-08 17:56 https://issues.openbravo.com/file_download.php?file_id=8545&type=bug 5260.patch (2,684) 2015-10-19 17:55 https://issues.openbravo.com/file_download.php?file_id=8580&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-10-08 17:56 | daniOpenbravo | New Issue | ||||||||||
2015-10-08 17:56 | daniOpenbravo | Assigned To | => Retail | |||||||||
2015-10-08 17:56 | daniOpenbravo | File Added: errorPOS.png | ||||||||||
2015-10-08 17:56 | daniOpenbravo | Triggers an Emergency Pack | => No | |||||||||
2015-10-08 17:57 | guillermogil | Resolution time | => 1444860000 | |||||||||
2015-10-08 17:59 | guillermogil | Relationship added | related to 0030806 | |||||||||
2015-10-08 18:35 | Orekaria | Relationship replaced | depends on 0030806 | |||||||||
2015-10-08 18:36 | Orekaria | Status | new => acknowledged | |||||||||
2015-10-08 18:38 | Orekaria | Severity | major => minor | |||||||||
2015-10-08 18:38 | Orekaria | Status | acknowledged => scheduled | |||||||||
2015-10-08 18:39 | Orekaria | Status | scheduled => resolved | |||||||||
2015-10-08 18:39 | Orekaria | Resolution | open => fixed | |||||||||
2015-10-08 18:39 | Orekaria | Status | resolved => new | |||||||||
2015-10-08 18:39 | Orekaria | Resolution | fixed => open | |||||||||
2015-10-08 18:41 | Orekaria | Assigned To | Retail => dbaz | |||||||||
2015-10-14 12:00 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9691#r9691 | |||||||||
2015-10-14 12:00 | Orekaria | Assigned To | dbaz => Retail | |||||||||
2015-10-14 12:07 | Orekaria | Severity | minor => major | |||||||||
2015-10-14 12:07 | Orekaria | Status | new => acknowledged | |||||||||
2015-10-19 14:50 | Orekaria | File Added: 5260.patch | ||||||||||
2015-10-19 17:55 | Orekaria | File Deleted: 5260.patch | ||||||||||
2015-10-19 17:55 | Orekaria | File Added: 5260.patch | ||||||||||
2015-10-20 15:45 | hgbot | Checkin | ||||||||||
2015-10-20 15:45 | hgbot | Note Added: 0081138 | ||||||||||
2015-10-20 15:45 | hgbot | Status | acknowledged => resolved | |||||||||
2015-10-20 15:45 | hgbot | Resolution | open => fixed | |||||||||
2015-10-20 15:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6f7f3eef8cced471c003e0e98f2ea667936fbb42 [^] | |||||||||
2015-10-20 15:45 | hgbot | Checkin | ||||||||||
2015-10-20 15:45 | hgbot | Note Added: 0081139 | ||||||||||
2015-10-20 15:46 | Orekaria | Review Assigned To | => marvintm | |||||||||
2015-10-23 10:29 | marvintm | Assigned To | Retail => Orekaria | |||||||||
2015-10-23 14:38 | marvintm | Status | resolved => closed | |||||||||
2015-10-23 14:38 | marvintm | Fixed in Version | => RR16Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|