Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030982 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Layaway order | major | always | 2015-09-02 13:50 | 2015-11-10 16:38 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | mario_castello | |||||||
Priority | high | Resolution | suspended | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | eee715f8f9d4 | ||||
Projection | none | ETA | none | Target Version | RR15Q2.6 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | RR15Q3 | SCM revision | ||||||
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 | 0030982: 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0081663) gorka_gil (administrator) 2015-11-10 16:38 |
The newer version 15Q3.x has been promoted to Confirmed Stable (CS). So no new 15Q2.x releases will be published. |
![]() |
|||
Date Modified | Username | Field | Change |
2015-09-30 09:28 | marvintm | Type | defect => backport |
2015-09-30 09:28 | marvintm | Target Version | => RR15Q2.6 |
2015-11-10 16:38 | gorka_gil | Note Added: 0081663 | |
2015-11-10 16:38 | gorka_gil | Status | scheduled => closed |
2015-11-10 16:38 | gorka_gil | Resolution | open => suspended |
Copyright © 2000 - 2009 MantisBT Group |