Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0030741 | Retail Modules | Layaway order | public | 2015-09-02 13:50 | 2015-10-20 10:10 | ||||||||||||||
Reporter | malsasua | ||||||||||||||||||
Assigned To | mario_castello | ||||||||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 20 | OS Version | Community Appliance | |||||||||||||||
Product Version | RR15Q3 | ||||||||||||||||||
Target Version | Fixed in Version | RR15Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | guilleaer | ||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Support ticket | 38051 | ||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0030741: when layaway is paid, the shipment can be created wrongly | ||||||||||||||||||
Description | when a layaway is paid, the shipments lines can be created with incorrect quantities. | ||||||||||||||||||
Steps To Reproduce | no steps to reproduce, but checking the code: . in this line[1], the order lines in var "lineReferences" are loaded sorted by the function getOrderLineList() [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ed027ed9e893/src/org/openbravo/retail/posterminal/OrderLoader.java#l235 [^] . in this line[2], the order lines in var orderLines are loaded from the Json [2] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ed027ed9e893/src/org/openbravo/retail/posterminal/OrderLoader.java#l899 [^] and the JSON is retrieved from POS, and in POS the lines are loaded with this SQL (without order by): https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ed027ed9e893/src/org/openbravo/retail/posterminal/PaidReceipts.java#l91 [^] To create the shipment lines, the qty is retrieved from var lineReferences: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ed027ed9e893/src/org/openbravo/retail/posterminal/OrderLoader.java#l903 [^] and the rest of info of line is retrieved from var orderlines.getJSONObject(i): https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ed027ed9e893/src/org/openbravo/retail/posterminal/OrderLoader.java#l1028 [^] And the elements can be ordered distinct in the two arrays Module script should be done | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2015-09-02 13:50 | malsasua | New Issue | |||||||||||||||||
2015-09-02 13:50 | malsasua | Assigned To | => Retail | ||||||||||||||||
2015-09-02 13:50 | malsasua | OBNetwork customer | => Yes | ||||||||||||||||
2015-09-02 13:50 | malsasua | Support ticket | => 38051 | ||||||||||||||||
2015-09-02 13:50 | malsasua | Resolution time | => 1443823200 | ||||||||||||||||
2015-09-02 13:50 | malsasua | Triggers an Emergency Pack | => No | ||||||||||||||||
2015-09-08 15:58 | mario_castello | Assigned To | Retail => mario_castello | ||||||||||||||||
2015-09-08 20:30 | mario_castello | Status | new => scheduled | ||||||||||||||||
2015-09-14 22:17 | hgbot | Checkin | |||||||||||||||||
2015-09-14 22:17 | hgbot | Note Added: 0080391 | |||||||||||||||||
2015-09-14 22:17 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2015-09-14 22:17 | hgbot | Resolution | open => fixed | ||||||||||||||||
2015-09-14 22:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6cdf3bede0b50d62d4e6b57057011b8ab92aaf95 [^] | ||||||||||||||||
2015-09-24 23:57 | hgbot | Checkin | |||||||||||||||||
2015-09-24 23:57 | hgbot | Note Added: 0080628 | |||||||||||||||||
2015-09-25 11:02 | Orekaria | Review Assigned To | => guilleaer | ||||||||||||||||
2015-09-28 16:54 | guilleaer | Note Added: 0080669 | |||||||||||||||||
2015-09-28 16:54 | guilleaer | Status | resolved => new | ||||||||||||||||
2015-09-28 16:54 | guilleaer | Resolution | fixed => open | ||||||||||||||||
2015-09-29 19:19 | hgbot | Checkin | |||||||||||||||||
2015-09-29 19:19 | hgbot | Note Added: 0080722 | |||||||||||||||||
2015-09-29 19:19 | hgbot | Status | new => resolved | ||||||||||||||||
2015-09-29 19:19 | hgbot | Resolution | open => fixed | ||||||||||||||||
2015-09-29 19:19 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6cdf3bede0b50d62d4e6b57057011b8ab92aaf95 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eee715f8f9d4f46fbe864fa75b47d172bd50b882 [^] | ||||||||||||||||
2015-09-29 23:03 | hgbot | Checkin | |||||||||||||||||
2015-09-29 23:03 | hgbot | Note Added: 0080728 | |||||||||||||||||
2015-09-30 07:51 | guilleaer | Note Added: 0080729 | |||||||||||||||||
2015-09-30 07:51 | guilleaer | Status | resolved => closed | ||||||||||||||||
2015-09-30 07:51 | guilleaer | Fixed in Version | => RR15Q4 | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | closed => new | ||||||||||||||||
2015-09-30 09:28 | marvintm | Resolution | fixed => open | ||||||||||||||||
2015-09-30 09:28 | marvintm | Fixed in Version | RR15Q4 => | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | new => acknowledged | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | acknowledged => scheduled | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | scheduled => resolved | ||||||||||||||||
2015-09-30 09:28 | marvintm | Resolution | open => fixed | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | resolved => new | ||||||||||||||||
2015-09-30 09:28 | marvintm | Resolution | fixed => open | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | new => acknowledged | ||||||||||||||||
2015-09-30 09:28 | marvintm | Status | acknowledged => scheduled | ||||||||||||||||
2015-09-30 09:29 | marvintm | Status | scheduled => resolved | ||||||||||||||||
2015-09-30 09:29 | marvintm | Fixed in Version | => RR15Q4 | ||||||||||||||||
2015-09-30 09:29 | marvintm | Resolution | open => fixed | ||||||||||||||||
2015-09-30 09:29 | marvintm | Status | resolved => closed | ||||||||||||||||
2015-10-20 10:10 | hgbot | Checkin | |||||||||||||||||
2015-10-20 10:10 | hgbot | Note Added: 0081112 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|