Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034288Retail ModulesWeb POSpublic2016-10-24 23:012016-11-08 11:55
Osmany 
mario_castello 
highmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034288: [SER-QA 1972] Document number wrong in the order details when we delete product.
Document number wrong in the order details when we delete product.
Log in ERP.
Go to POS Terminal window. Search "VBS-1" terminal.
Write in Return No Prefix field "Return".

Log in Web POS
Add new product.
Delete product.
Realize that the document number changed.(See pic)
After press Undo button the document number came back.
SER-QA
related to defect 0034421 closed mario_castello [SER-QA 2016] Document number wrong in the order details when we delete product. 
related to defect 0035184 closed ranjith_qualiantech_com Non incrementing the number of the return ticket if “Return No Prefix” of terminal is defined. 
png IssueDocNumberOrder.png (182,250) 2016-10-24 23:01
https://issues.openbravo.com/file_download.php?file_id=9952&type=bug
png
Issue History
2016-10-24 23:01OsmanyNew Issue
2016-10-24 23:01OsmanyAssigned To => mario_castello
2016-10-24 23:04OsmanyFile Added: IssueDocNumberOrder.png
2016-10-24 23:04OsmanyResolution time => 1477868400
2016-10-24 23:04OsmanyTriggers an Emergency Pack => No
2016-10-24 23:04OsmanyTag Attached: SER-QA
2016-10-24 23:58mario_castelloStatusnew => acknowledged
2016-10-25 16:40mario_castelloStatusacknowledged => scheduled
2016-10-26 09:09adrianromeroResolution time1477868400 => 1478473200
2016-10-26 09:09adrianromeroSummaryDocument number wrong in the order details when we delete product. => [SER-QA 1972] Document number wrong in the order details when we delete product.
2016-10-26 16:08hgbotCheckin
2016-10-26 16:08hgbotNote Added: 0090924
2016-10-26 16:08hgbotStatusscheduled => resolved
2016-10-26 16:08hgbotResolutionopen => fixed
2016-10-26 16:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5a034e4b7f211ff8264f5b602783eb92afb8b1e4 [^]
2016-10-26 16:09hgbotCheckin
2016-10-26 16:09hgbotNote Added: 0090925
2016-10-31 10:34marvintmReview Assigned To => marvintm
2016-10-31 10:34marvintmStatusresolved => closed
2016-10-31 10:34marvintmFixed in Version => RR17Q1
2016-11-07 15:00OsmanyNote Added: 0091201
2016-11-07 15:00OsmanyStatusclosed => new
2016-11-07 15:00OsmanyResolutionfixed => open
2016-11-07 15:00OsmanyFixed in VersionRR17Q1 =>
2016-11-08 11:52adrianromeroIssue cloned0034421
2016-11-08 11:52adrianromeroRelationship addedrelated to 0034421
2016-11-08 11:54adrianromeroStatusnew => scheduled
2016-11-08 11:54adrianromeroStatusscheduled => resolved
2016-11-08 11:54adrianromeroResolutionopen => fixed
2016-11-08 11:55adrianromeroNote Added: 0091232
2016-11-08 11:55adrianromeroStatusresolved => closed
2016-11-08 11:55adrianromeroFixed in Version => RR17Q1
2016-11-08 11:56adrianromeroNote Edited: 0091232bug_revision_view_page.php?bugnote_id=0091232#r13570
2017-02-09 14:14ranjith_qualiantech_comRelationship addedrelated to 0035184

Notes
(0090924)
hgbot   
2016-10-26 16:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5a034e4b7f211ff8264f5b602783eb92afb8b1e4
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Oct 25 09:03:20 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5a034e4b7f211ff8264f5b602783eb92afb8b1e4 [^]

Fixed issue 34288: Added validation to verify is exist negative lines before set the documentNo

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0090925)
hgbot   
2016-10-26 16:09   
Repository: tools/automation/pi-mobile
Changeset: abb3dd23a6f5a2953a2a463196441dea4522b4c3
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Oct 25 10:54:15 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/abb3dd23a6f5a2953a2a463196441dea4522b4c3 [^]

Related to issue 34288: Added automated test I34288_ReceiptChangeDocumentNo

---
M src-test/org/openbravo/test/mobile/retail/pack/database/WebPOSDatabaseHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I34288_ReceiptChangeDocumentNo.java
---
(0091201)
Osmany   
2016-11-07 15:00   
Is posible reproduce this issue for other flow.
Preconditions:
Preference: "Do not allow Sales with return" = Y
POS Terminal window - Return no prefix = RRR

- Log in Web POS
- Add Product Ticket
- Menu. Click on Verified Return.
- Choose a ticket and select an product to return

Result: Message is displayed informing the user that it is not possible to add a negative line in a sales order.

                   The product initially added to the ticket original remains unchanged, but the ticket has become a return ticket.

                   Validation is done with a positive amount and the printed ticket is a return ticket.. --> Document type = Return
(0091232)
adrianromero   
2016-11-08 11:55   
(edited on: 2016-11-08 11:56)
Created new related issue 34421, and keeping this closed.