Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045267 | Retail Modules | Web POS | public | 2020-10-21 13:43 | 2020-11-24 17:30 |
|
Reporter | kchoperena | |
Assigned To | ranjith_qualiantech_com | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR21Q1 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045267: The previousgrosspricestd field is not working correctly when we load a synchronized ticket |
Description | When we reload a ticket from the back-end, for example, a Quotation, and we try to convert it in a Sales Order, the previousgrosspricestd field is not working properly.
Can be noticed using products with discounts and related to a service that can change the product tax |
Steps To Reproduce | 1.- Log in to the WebPOS
2.- Create a Quotation
3.- Add the product "Tent 3 season 2 person"
4.- Add the service "Installation pack" related to the product line (note that the unit price of the product has changed because of the service conf -> http://wiki.openbravo.com/wiki/Projects:Services_can_change_taxes [^])
5.- Apply a "disc_5_var_euro" discount to the product line
6.- Complete the quotation and close it
7.- Reopen the Quotation using the "Open receipts" menu entry
8.- Convert the Quotation in an Order using the "Create Sales Order" menu entry
9.-Remove the service line
RESULT:
After remove the service line, the unit price of the product has not been updated correctly to the original one. Also, the applied discount disappears.
In 20Q1, when we convert the Quotation in an Order, the unit price of the product is calculated incorrectly.
VIDEO: https://drive.google.com/file/d/1arHJPloqwdkNCQ63NukX2G5_QEdkd_B3/view [^] |
Proposed Solution | - Add a new column in c_orderline with the name EM_OBPOS_PREVIOUSGROSSPRICESTD
- Add logic in the OrderLoader to set the property
- Add logic in the PaidReceipts to load the property in the WebPOS as PREVIOUSGROSSPRICESTD (in 20Q1 should be taxChangedPrice) |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 45267_20Q1_posterminal.diff (8,593) 2020-10-23 10:06 https://issues.openbravo.com/file_download.php?file_id=15044&type=bug
45267_20Q1_posterminal_v2.diff (9,256) 2020-11-19 09:21 https://issues.openbravo.com/file_download.php?file_id=15096&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2020-10-21 13:43 | kchoperena | New Issue | |
2020-10-21 13:43 | kchoperena | Assigned To | => Retail |
2020-10-21 13:43 | kchoperena | OBNetwork customer | => Gold |
2020-10-21 13:43 | kchoperena | Resolution time | => 1604444400 |
2020-10-21 13:43 | kchoperena | Triggers an Emergency Pack | => No |
2020-10-21 13:45 | kchoperena | Note Added: 0123824 | |
2020-10-22 09:49 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2020-10-23 04:34 | ranjith_qualiantech_com | File Added: 45267_20Q1_posterminal.diff | |
2020-10-23 09:16 | ranjith_qualiantech_com | File Deleted: 45267_20Q1_posterminal.diff | |
2020-10-23 10:06 | ranjith_qualiantech_com | File Added: 45267_20Q1_posterminal.diff | |
2020-10-27 07:54 | ranjith_qualiantech_com | Status | new => scheduled |
2020-11-11 05:08 | hgbot | Merge Request Status | => open |
2020-11-11 05:08 | hgbot | Note Added: 0124266 | |
2020-11-11 05:08 | hgbot | Note Added: 0124267 | |
2020-11-11 05:08 | hgbot | Note Added: 0124268 | |
2020-11-17 10:47 | kchoperena | Note Added: 0124445 | |
2020-11-19 09:21 | ranjith_qualiantech_com | File Added: 45267_20Q1_posterminal_v2.diff | |
2020-11-24 17:29 | hgbot | Merge Request Status | open => approved |
2020-11-24 17:30 | hgbot | Note Added: 0124590 | |
2020-11-24 17:30 | hgbot | Note Added: 0124591 | |
2020-11-24 17:30 | hgbot | Note Added: 0124592 | |
2020-11-24 17:30 | hgbot | Note Added: 0124593 | |
2020-11-24 17:30 | hgbot | Resolution | open => fixed |
2020-11-24 17:30 | hgbot | Status | scheduled => closed |
2020-11-24 17:30 | hgbot | Fixed in Version | => RR21Q1 |
2020-11-24 17:30 | hgbot | Note Added: 0124594 | |
2020-11-24 17:30 | hgbot | Note Added: 0124595 | |
Notes |
|
|
We want the fix of this issue for 20Q1. In 20Q1, the "problematic" variable is the "taxChangedPrice". To take into account in the OrderLoader and PaidReceipts modifications |
|
|
(0124266)
|
hgbot
|
2020-11-11 05:08
|
|
|
|
(0124267)
|
hgbot
|
2020-11-11 05:08
|
|
|
|
(0124268)
|
hgbot
|
2020-11-11 05:08
|
|
|
|
|
|
|
(0124590)
|
hgbot
|
2020-11-24 17:30
|
|
|
|
(0124591)
|
hgbot
|
2020-11-24 17:30
|
|
|
|
(0124592)
|
hgbot
|
2020-11-24 17:30
|
|
|
|
(0124593)
|
hgbot
|
2020-11-24 17:30
|
|
|
|
(0124594)
|
hgbot
|
2020-11-24 17:30
|
|
|
|
(0124595)
|
hgbot
|
2020-11-24 17:30
|
|
|