Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041197 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Retail Modules] Web POS | major | always | 2019-06-27 17:51 | 2019-07-19 08:04 | |||
Reporter | asiermartirena | View Status | public | |||||
Assigned To | asiermartirena | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e7151da91466 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aaroncalero | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041197: When generating the invoice in Web POS, some properties must be avoided | |||||||
Description | When creating an invoice in the Web POS, it is initially taken from the active order. This order has many parameters that can be removed, in order to make it lighter. This also causes, in the specific case of the 'calculateReceiptCallbacks' property, that in some specific cases the flow can have a js error. As the property is an array, that means that is a referenced property, when it is cloned the new object still has the same reference to the original one, so the invoice can add new callbacks to the order. This must be avoided. | |||||||
Steps To Reproduce | Create an order in the Web POS. Generate an invoice with it. Check, for example, that the payments information is sent in the invoice object. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0113162) hgbot (developer) 2019-07-03 18:25 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: e7151da9146686a076e02c679191c306c6b6f505 Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Wed Jul 03 18:25:14 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7151da9146686a076e02c679191c306c6b6f505 [^] Fixed issue 41197: When generating the invoice in Web POS, some properties must be avoided The calculateReceiptCallbacks, calculatedInvoice, canceledorder, payments, json and undo properties must be removed or reset, because are not needed for invoices and the generating JSON can be much bigger than needed one. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0113257) adrianromero (viewer) 2019-07-10 15:10 |
Verified |
(0113278) hgbot (developer) 2019-07-11 15:31 |
Repository: erp/pmods/org.openbravo.retail.posterminal-discounts Changeset: e7151da9146686a076e02c679191c306c6b6f505 Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Wed Jul 03 18:25:14 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/e7151da9146686a076e02c679191c306c6b6f505 [^] Fixed issue 41197: When generating the invoice in Web POS, some properties must be avoided The calculateReceiptCallbacks, calculatedInvoice, canceledorder, payments, json and undo properties must be removed or reset, because are not needed for invoices and the generating JSON can be much bigger than needed one. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-06-27 17:51 | asiermartirena | New Issue | |
2019-06-27 17:51 | asiermartirena | Assigned To | => asiermartirena |
2019-06-27 17:51 | asiermartirena | OBNetwork customer | => No |
2019-06-27 17:51 | asiermartirena | Triggers an Emergency Pack | => No |
2019-07-01 10:05 | asiermartirena | Type | defect => design defect |
2019-07-03 18:25 | hgbot | Checkin | |
2019-07-03 18:25 | hgbot | Note Added: 0113162 | |
2019-07-03 18:25 | hgbot | Status | new => resolved |
2019-07-03 18:25 | hgbot | Resolution | open => fixed |
2019-07-03 18:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7151da9146686a076e02c679191c306c6b6f505 [^] |
2019-07-10 15:10 | adrianromero | Review Assigned To | => aaroncalero |
2019-07-10 15:10 | adrianromero | Note Added: 0113257 | |
2019-07-10 15:10 | adrianromero | Status | resolved => closed |
2019-07-10 15:10 | adrianromero | Fixed in Version | => RR19Q4 |
2019-07-11 15:31 | hgbot | Checkin | |
2019-07-11 15:31 | hgbot | Note Added: 0113278 | |
2019-07-11 15:31 | hgbot | Status | closed => resolved |
2019-07-11 15:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7151da9146686a076e02c679191c306c6b6f505 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/e7151da9146686a076e02c679191c306c6b6f505 [^] |
2019-07-19 08:04 | aaroncalero | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |