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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036830
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-09-11 18:362017-09-20 12:22
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revision1e639e379539
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036830: The deletedLines array is copied from to the ticket when creating an order from a quotation

DescriptionWhen the Web POS Save Removed Tickets preference is configured, all deleted lines are stored in a deletedLines array.
When a quotation is loaded from backend into web pos and it is reactivated, it is possible to add or remove lines.
If a line is removed, then the quotation is confirmed (by clicking on the Total Amount button) and then (without removing it) it is converted into a sales order (Menu entry "Create sales order"), the array of deletedLines remains on the ticket.
If the ticket is synchronized to the server, the process will fail because the deletedLines already exist in the database.
Steps To ReproduceLogin in backend and configure the "Web POS Save Removed Tickets" preference.
Login in web pos.
Load a quotation.
Reactivate the quotation.
Remove a line.
Complete the quotation.
Convert the sales order in a quotation.
Try to pay the ticket.
Verify that the ticket won't be synchronized and the record will appear on the "Errors while importing POS data" window.

Proposed SolutionWhen the sales order is created from a quotation, the array of deleted lines should be reset/removed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0098984)
hgbot (developer)
2017-09-12 13:58

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1e639e379539df30a7e318d906dbcd5ac194b488
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Sep 12 17:27:27 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1e639e379539df30a7e318d906dbcd5ac194b488 [^]

Fixed issue 36830 : Reset deletedLines when order is created from quotations

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0099010)
ranjith_qualiantech_com (developer)
2017-09-13 11:13

Test must be added
(0099023)
hgbot (developer)
2017-09-14 09:22

Repository: tools/automation/pi-mobile
Changeset: 58788a3d5a65f5188f031a8427ff539b81aa6697
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 14 12:51:57 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/58788a3d5a65f5188f031a8427ff539b81aa6697 [^]

Verifies issue 36830 : Added automated test 'I36830_VerifyOrderFromQuotations'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I36830_VerifyOrderFromQuotations.java
---
(0099048)
migueldejuana (developer)
2017-09-14 14:43

Failing in Quarantine:

https://ci.openbravo.com/view/retail-qa/job/ret-qa-modules-pgsql-suite2/637/ [^]
(0099134)
ranjith_qualiantech_com (developer)
2017-09-19 08:34

Test failed in quarantine is due to another issue https://issues.openbravo.com/view.php?id=36801. [^] So issue changed to resolved

- Issue History
Date Modified Username Field Change
2017-09-11 18:36 aaroncalero New Issue
2017-09-11 18:36 aaroncalero Assigned To => Retail
2017-09-11 18:36 aaroncalero Resolution time => 1506290400
2017-09-11 18:36 aaroncalero Triggers an Emergency Pack => No
2017-09-12 09:43 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-09-12 09:44 ranjith_qualiantech_com Status new => scheduled
2017-09-12 13:58 hgbot Checkin
2017-09-12 13:58 hgbot Note Added: 0098984
2017-09-12 13:58 hgbot Status scheduled => resolved
2017-09-12 13:58 hgbot Resolution open => fixed
2017-09-12 13:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1e639e379539df30a7e318d906dbcd5ac194b488 [^]
2017-09-13 11:13 ranjith_qualiantech_com Note Added: 0099010
2017-09-13 11:13 ranjith_qualiantech_com Status resolved => new
2017-09-13 11:13 ranjith_qualiantech_com Resolution fixed => open
2017-09-13 11:13 ranjith_qualiantech_com Status new => scheduled
2017-09-14 09:22 hgbot Checkin
2017-09-14 09:22 hgbot Note Added: 0099023
2017-09-14 09:22 ranjith_qualiantech_com Status scheduled => resolved
2017-09-14 09:22 ranjith_qualiantech_com Resolution open => fixed
2017-09-14 14:43 migueldejuana Note Added: 0099048
2017-09-14 14:43 migueldejuana Status resolved => new
2017-09-14 14:43 migueldejuana Resolution fixed => open
2017-09-19 08:33 ranjith_qualiantech_com Status new => scheduled
2017-09-19 08:34 ranjith_qualiantech_com Note Added: 0099134
2017-09-19 08:34 ranjith_qualiantech_com Status scheduled => resolved
2017-09-19 08:34 ranjith_qualiantech_com Resolution open => fixed
2017-09-20 12:21 marvintm Review Assigned To => marvintm
2017-09-20 12:21 marvintm Status resolved => closed
2017-09-20 12:22 marvintm Fixed in Version => RR17Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker