Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028006 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2014-10-28 14:21 | 2014-11-20 18:16 | |||
Reporter | lorenzofidalgo | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1414b4dc6113 | ||||
Projection | none | ETA | none | Target Version | RR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | Packaging and release | |||||||
Regression date | 2014-09-12 | |||||||
Regression introduced in release | main | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028006: An error popup appears when you try to complete a receipt with 0.00 total amount | |||||||
Description | This error has been found in RR14Q4. This issue does NOT appear in RR14Q3.1 & RR14Q2.6. Each time you try in POS to complete a receipt with total amount = 0.00, this receipt cannot be completed and an error popup is shown. | |||||||
Steps To Reproduce | (I assume that you are using CMS-1 terminal) Login to CMS-1 POS terminal as centralmountains/openbravo. Click to BROWSE and click menu "Backpacks & Travel". Pick 1 item of "Alpine skiing backpack 27L" and 1 item of "Baby carrier". Now click in "Alpine skiing backpack 27L" line, click PRICE and set 110.50. (Now you will have those two diferent items with the same price). Click "Baby carrier" line and at the right of the screen click "Return Line" button. After that, click in total amount (0.00) to complete the receipt. And now click "Done" button. The error popup has appeared. --- This also happends if you choose a single unit of some product and you set its price to 0.00 and you try to complete the receipt. --- It is also possible to reproduce that issue if you just add a product whose price is 0. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0071363) hgbot (developer) 2014-11-03 14:50 |
Repository: tools/automation/pi-mobile Changeset: 2b41d0831dd28de7c4fe591f68abfe12551259cd Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Mon Nov 03 14:50:12 2014 +0100 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2b41d0831dd28de7c4fe591f68abfe12551259cd [^] Related to issue 28006: Added test I28006_ReceiptWithReturnCanBeZero --- M src-test/org/openbravo/retail/standard/automation/common/javascript/IdTest.java M src-test/org/openbravo/retail/standard/automation/suites/SalesSuite.java A src-test/org/openbravo/retail/standard/automation/level20/returns/issues/I28006_ReceiptWithReturnCanBeZero.java --- |
(0071368) hgbot (developer) 2014-11-03 15:11 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 374641d49bac00297f169816e2ca2aa5cac6b1e9 Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Mon Nov 03 15:10:45 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/374641d49bac00297f169816e2ca2aa5cac6b1e9 [^] Fixes issue 28006: The receipt integrity check does not block the sale if a line has negative amount and the total amount is zero --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
(0071402) mtaal (viewer) 2014-11-04 16:37 |
Tested and reviewed |
(0071476) dmitry_mezentsev (viewer) 2014-11-06 20:30 |
This issue is marked as a regression but the most important field - commit that introduced it is missing. Could you fix it please? |
(0071610) lorenzofidalgo (viewer) 2014-11-12 16:24 |
The second way of reproducing this issue that appears in "Steps to reproduce" area is still reproducible. It is also possible to reproduce that issue if you just add a product whose price is 0. |
(0071706) mtaal (viewer) 2014-11-17 15:09 |
After discussion, the change/regression was intentional to not allow zero priced lines, i.e. to not allow users to set a price of zero. We still allow setting a price so a user could set a price of one cent... In my view the functionality of setting/overriding the price is a separate topic. Also if/how to limit this price overriding is a separate discussion. Until that topic is solved we should allow/support zero price for a product. |
(0071708) hgbot (developer) 2014-11-17 15:29 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 1414b4dc6113aa955a77decd4095798599fac94e Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Nov 17 15:20:54 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1414b4dc6113aa955a77decd4095798599fac94e [^] Fixes issue 28006: An error popup appears when you try to complete a receipt with 0.00 total amount Allow orders with a total gross of zero, we allow setting a price manually so also a price of zero. Remove previous checks which tried to find different kinds of exceptional zero gross cases. Just allow this, if zero price is not allowed then we should not allow setting it in the first place. Throwing an error and removing the ticket is not the solution for this. --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2014-10-28 14:21 | lorenzofidalgo | New Issue | |
2014-10-28 14:21 | lorenzofidalgo | Assigned To | => marvintm |
2014-10-28 14:21 | lorenzofidalgo | File Added: total amt= 0.png | |
2014-10-28 14:21 | lorenzofidalgo | OBNetwork customer | => No |
2014-10-28 14:21 | lorenzofidalgo | Regression level | => Packaging and release |
2014-10-28 14:21 | lorenzofidalgo | Regression introduced in release | => main |
2014-10-28 14:21 | lorenzofidalgo | Triggers an Emergency Pack | => No |
2014-11-03 14:50 | hgbot | Checkin | |
2014-11-03 14:50 | hgbot | Note Added: 0071363 | |
2014-11-03 15:11 | hgbot | Checkin | |
2014-11-03 15:11 | hgbot | Note Added: 0071368 | |
2014-11-03 15:11 | hgbot | Status | new => resolved |
2014-11-03 15:11 | hgbot | Resolution | open => fixed |
2014-11-03 15:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/374641d49bac00297f169816e2ca2aa5cac6b1e9 [^] |
2014-11-04 16:37 | mtaal | Review Assigned To | => mtaal |
2014-11-04 16:37 | mtaal | Note Added: 0071402 | |
2014-11-04 16:37 | mtaal | Status | resolved => closed |
2014-11-04 16:37 | mtaal | Fixed in Version | => RR15Q1 |
2014-11-06 20:30 | dmitry_mezentsev | Note Added: 0071476 | |
2014-11-12 16:24 | lorenzofidalgo | Note Added: 0071610 | |
2014-11-12 16:24 | lorenzofidalgo | Status | closed => new |
2014-11-12 16:24 | lorenzofidalgo | Resolution | fixed => open |
2014-11-12 16:24 | lorenzofidalgo | Fixed in Version | RR15Q1 => |
2014-11-12 16:27 | lorenzofidalgo | File Deleted: total amt= 0.png | |
2014-11-12 16:27 | lorenzofidalgo | File Added: total+amt=+0.png | |
2014-11-12 16:27 | lorenzofidalgo | Steps to Reproduce Updated | View Revisions |
2014-11-12 16:36 | lorenzofidalgo | Relationship added | has duplicate 0028160 |
2014-11-17 13:21 | mtaal | Relationship added | caused by 0027492 |
2014-11-17 13:22 | mtaal | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7 [^] |
2014-11-17 13:23 | mtaal | Regression date | => 2014-09-12 |
2014-11-17 15:09 | mtaal | Note Added: 0071706 | |
2014-11-17 15:29 | hgbot | Checkin | |
2014-11-17 15:29 | hgbot | Note Added: 0071708 | |
2014-11-17 15:29 | hgbot | Status | new => resolved |
2014-11-17 15:29 | hgbot | Resolution | open => fixed |
2014-11-17 15:29 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/374641d49bac00297f169816e2ca2aa5cac6b1e9 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1414b4dc6113aa955a77decd4095798599fac94e [^] |
2014-11-20 18:16 | marvintm | Review Assigned To | mtaal => marvintm |
2014-11-20 18:16 | marvintm | Status | resolved => closed |
2014-11-20 18:16 | marvintm | Fixed in Version | => RR14Q4 |
Copyright © 2000 - 2009 MantisBT Group |