Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033920 | Retail Modules | Web POS | public | 2016-09-07 14:28 | 2018-07-27 15:33 | |||||||
Reporter | aaroncalero | |||||||||||
Assigned To | migueldejuana | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR16Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033920: [SERQA 1762] Quantity rules are wrongly calculated when creating a deferred sale | |||||||||||
Description | When a deferred sale for a service is created, and the same service is added from different lines (related to different product lines), the quantity rule is not correctly calculated, and the service line quantity is wrong. The service needs to be defined with a quantity rule "Unique quantity", which means that the line qty should always be one. | |||||||||||
Steps To Reproduce | Using standard Retail sampledata: Login into the ERP, go to the Product Window, open the Customize Coat product and enable the "Allow deferred sales" checkbox (under the Service Product field group). Verify that the quantity rule of the service is Unique Quantity. Login in the web pos. (1) Create and pay two tickets, with one unit of Coat on each. (2) Load both tickets in web pos. (3) Go to the first ticket and click on the related services button. Try to add the Customize Coat service. (4) The Not Editable Receipt popup will appear, allowing to create a deferred sale. Select "* Create new Receipt" and click on apply. A new ticket will be created with a unit of Customize Coat. Note the document No. of the ticket. (5) Go to the second ticket and click on the related services button. Try to add the Customize Coat service. (6) The Not Editable Receipt popup will appear, allowing to create a deferred sale. Select the ticket with the service and click on Apply. The service will be linked now to two different lines, and the quantity of the line will be 2, which is wrong. Since the service is configured as Unique Quantity, the line must have only une unit. | |||||||||||
Proposed Solution | Attached a patch with a possible solution. The problem is that after adding a deferred product, only the price rule calculation was triggered. The patch changes the event to fire the quantity rule calculation instead. | |||||||||||
Additional Information | ||||||||||||
Tags | SER-QA | |||||||||||
Relationships |
| |||||||||||
Attached Files | Issue33920.diff (819) 2016-09-07 14:29 https://issues.openbravo.com/file_download.php?file_id=9794&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-09-07 14:28 | aaroncalero | New Issue | ||||||||||
2016-09-07 14:28 | aaroncalero | Assigned To | => Retail | |||||||||
2016-09-07 14:28 | aaroncalero | Resolution time | => 1474408800 | |||||||||
2016-09-07 14:28 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
2016-09-07 14:29 | aaroncalero | File Added: Issue33920.diff | ||||||||||
2016-09-07 14:31 | aaroncalero | Summary | Quantity rules are wrongly calculated when creating a deferred sale => [SERQA 1762] Quantity rules are wrongly calculated when creating a deferred sale | |||||||||
2016-09-07 14:31 | aaroncalero | Tag Attached: SER-QA | ||||||||||
2016-09-26 10:51 | migueldejuana | Assigned To | Retail => migueldejuana | |||||||||
2016-09-26 10:51 | migueldejuana | Status | new => scheduled | |||||||||
2016-09-26 10:54 | VictorVillar | Resolution time | 1474408800 => 1475445600 | |||||||||
2016-09-28 07:37 | hgbot | Checkin | ||||||||||
2016-09-28 07:37 | hgbot | Note Added: 0090323 | ||||||||||
2016-09-28 07:37 | hgbot | Status | scheduled => resolved | |||||||||
2016-09-28 07:37 | hgbot | Resolution | open => fixed | |||||||||
2016-09-28 07:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bae23bf03d13fda42ba4609cdfea9413b05ca223 [^] | |||||||||
2016-09-30 12:02 | jorge-garcia | Relationship added | related to 0034084 | |||||||||
2016-10-10 13:40 | marvintm | Review Assigned To | => marvintm | |||||||||
2016-10-10 13:40 | marvintm | Status | resolved => closed | |||||||||
2016-10-10 13:40 | marvintm | Fixed in Version | => RR16Q4 | |||||||||
2018-07-27 15:33 | hgbot | Checkin | ||||||||||
2018-07-27 15:33 | hgbot | Note Added: 0105990 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|