Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031113
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-08 17:562015-10-23 14:38
ReporterdaniOpenbravoView Statuspublic 
Assigned ToOrekaria 
PriorityhighResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision6f7f3eef8cce
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version
OS Version14.04Database version12cAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031113: Error shown in Web POS when loading quotations/layaways/receipts when Sales Representative is null.

DescriptionAn 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 ReproduceA)
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 SolutionIn 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"));
TagsNo tags attached.
Attached Filespng file icon errorPOS.png [^] (289,801 bytes) 2015-10-08 17:56
patch file icon 5260.patch [^] (2,684 bytes) 2015-10-19 17:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0030806 closedjorge-garcia The default sales representative is by default the current logged user, even if it not a Sales representative 

-  Notes
(0081138)
hgbot (developer)
2015-10-20 15:45

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6f7f3eef8cced471c003e0e98f2ea667936fbb42
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Oct 19 17:53:41 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6f7f3eef8cced471c003e0e98f2ea667936fbb42 [^]

Fixes issue 31113: Allow empty sales representatives when retrying paid receipts

---
M src/org/openbravo/retail/posterminal/PaidReceiptProperties.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0081139)
hgbot (developer)
2015-10-20 15:45

Repository: tools/automation/pi-mobile
Changeset: 07eab1519a47ec1466a3e7bad3688a725b25d2d0
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Oct 19 15:55:25 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/07eab1519a47ec1466a3e7bad3688a725b25d2d0 [^]

Verifies issue 31113: Added the 'I31113_RetrieveReceiptWithEmptySalesRepresentative' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31113_RetrieveReceiptWithEmptySalesRepresentative.java
---

- 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker