Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035941 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-05-08 13:05 | 2017-05-18 12:45 | |||
Reporter | nataliag | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR17Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | da89aeb12ad1 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 46608 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035941: Discount quantity set to 0 in a return ticket using discount key from keyboard | |||||||
Description | If you create a ticket and you apply a discount to a line using the quantity and the discount key from the webPOS keyboard, this discount is visible in the c_orderline table. Now if you return this ticket and you look again the new register created in the c_orderline table the discount is set as 0. | |||||||
Steps To Reproduce | 1-Go to preference window in backend and set the property "WEB POS Open Discounts From Keyboard " to N. 2- Now enter in a POS terminal and create a new ticket and add a product. Select that line and press in the screen keyboard, the quantity 30 for example and the "Discount" key. A discount of 30% is applied to that line. 3- Pay and complete the ticket. 4- Again in backoffice, use the SQL Query window to search the line created and verify that in the "Discount" field the 30 is present. This query can be used: select * from c_orderline order by created desc 5- Go back to POS terminal and select in "Verified returns" the ticket created in step 2. 6- Complete it 7- Execute the same query as in step 4 and verify that the "Discount" field is now set to 0, instead 30. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0096500) hgbot (developer) 2017-05-10 09:05 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: da89aeb12ad15caf0c4fd9c88c0e23df79170128 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue May 09 16:46:08 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da89aeb12ad15caf0c4fd9c88c0e23df79170128 [^] Fixed issue 35941: Discount quantity set to 0 in a return ticket using discount key from keyboard The solution is to retrieve the value of the percentage discounted to the ticket and set it in the verify return. --- M src/org/openbravo/retail/posterminal/PaidReceiptLinesProperties.java M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0096501) hgbot (developer) 2017-05-10 09:06 |
Repository: tools/automation/pi-mobile Changeset: 0d8a96369cef1abf31c216b25416e5d74388ce2a Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue May 09 16:46:47 2017 +0200 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0d8a96369cef1abf31c216b25416e5d74388ce2a [^] Verifies issue 35941: Discount quantity set to 0 in a return ticket using discount key from keyboard Added test I35941_CorrectPercentageDiscountedInVerifyReturn. --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I35941_CorrectPercentageDiscountedInVerifyReturn.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-05-08 13:05 | nataliag | New Issue | |
2017-05-08 13:05 | nataliag | Assigned To | => Retail |
2017-05-08 13:05 | nataliag | OBNetwork customer | => Yes |
2017-05-08 13:05 | nataliag | Support ticket | => 46608 |
2017-05-08 13:05 | nataliag | Resolution time | => 1496008800 |
2017-05-08 13:05 | nataliag | Triggers an Emergency Pack | => No |
2017-05-08 15:05 | heccam | Issue Monitored: heccam | |
2017-05-09 16:41 | jorge-garcia | Status | new => scheduled |
2017-05-09 16:41 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2017-05-10 09:05 | hgbot | Checkin | |
2017-05-10 09:05 | hgbot | Note Added: 0096500 | |
2017-05-10 09:05 | hgbot | Status | scheduled => resolved |
2017-05-10 09:05 | hgbot | Resolution | open => fixed |
2017-05-10 09:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da89aeb12ad15caf0c4fd9c88c0e23df79170128 [^] |
2017-05-10 09:06 | hgbot | Checkin | |
2017-05-10 09:06 | hgbot | Note Added: 0096501 | |
2017-05-18 12:45 | marvintm | Review Assigned To | => marvintm |
2017-05-18 12:45 | marvintm | Status | resolved => closed |
2017-05-18 12:45 | marvintm | Fixed in Version | => RR17Q3 |
Copyright © 2000 - 2009 MantisBT Group |