Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037507 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2017-12-19 10:48 | 2018-03-07 09:24 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 928a4741ef69 | ||||
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 | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037507: New hook is required when synchronyzing a ticket | |||||||
Description | It is necessary to create a new hook which is executed after the transaction which completes and saves the ticket has been finalised. This hook should receive the ticket as a parameter. | |||||||
Steps To Reproduce | . | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0101592) hgbot (developer) 2018-01-05 12:52 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 2898eecee9697b2be47bff59daca97eb54432ba4 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Jan 05 17:22:23 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2898eecee9697b2be47bff59daca97eb54432ba4 [^] Fixed issue 37507 : Added new hook for PreSyncReceipt after saving receipt --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
(0101626) marvintm (viewer) 2018-01-08 18:18 |
Current hook works correctly, but we need to implement the same functionality for multiorders flow (Pay Open Tickets). The hook should also be called there, individually per paid ticket, and the individual ticket should also be received as a parameter. |
(0101694) aferraz (viewer) 2018-01-15 14:01 |
If we modify the receipt json inside this hook, we get a js error: ticketCloseUtils.js: OB.error("The receipt has been modified while it was being closed:\n" + diffStringified + "\n"); |
(0101744) hgbot (developer) 2018-01-17 11:32 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 49a47f0e9f007f8a1f6ae11f61dc81d259f38e19 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Jan 17 16:02:45 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/49a47f0e9f007f8a1f6ae11f61dc81d259f38e19 [^] Fixed issue 37507 : Added new hook for PreSyncReceipt after saving receipt in multiorders --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
(0101931) aferraz (viewer) 2018-01-24 18:53 |
PreSyncReceipt hook is not being executed in Cancel Layaway and Void Layaway processes. |
(0102044) hgbot (developer) 2018-01-30 10:42 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: d0948174235a6e5c917cdfd46c3a45ff4de92fbb Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Jan 30 15:11:42 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0948174235a6e5c917cdfd46c3a45ff4de92fbb [^] Fixed issue 37507 : Refactor PreSyncReceipt for receipts and multiorders * Added PreSyncReceipt for Cancel Layaway and Void Layaway --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0102093) marvintm (viewer) 2018-01-31 14:35 |
With the last changes, there is now a problem which didn't happen before: now some properties are set in the receipt after the OBPOS_PreSyncReceipt is called. This should not happen, we need all properties (including hasbeenpaid, cashupReportInformation, and the json itself) to be completely computed before the OBPOS_PreSyncReceipt hook is called; otherwise we will be missing these properties when computing the hash which always needs to include all properties. |
(0102122) aferraz (viewer) 2018-02-01 18:48 |
This hook should be also executed when synchronizing removed tickets in case "Web POS Save Removed Tickets" preference is configured. |
(0102167) hgbot (developer) 2018-02-05 09:32 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 6956dba51f4e3a651acff90c04e08e77ed7f95e3 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Mon Feb 05 14:02:31 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6956dba51f4e3a651acff90c04e08e77ed7f95e3 [^] Fixed issue 37507 : Refactor PreSyncReceipt for receipts and multiorders * Added PreSyncReceipt for deleting ticket if savedelete ticket prefernece is enabled --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0102363) ranjith_qualiantech_com (viewer) 2018-02-13 14:47 |
In Pay Open Tickets, OBPOS_PreSyncReceipt should be called before Save and runSyncProcess |
(0102384) hgbot (developer) 2018-02-14 08:37 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 493a942155e187815771d1c271e45188ee860396 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Feb 14 13:07:29 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/493a942155e187815771d1c271e45188ee860396 [^] Fixed issue 37507 : Refactor PreSyncReceipt in multiorders * PreSyncReceipt should be called before receipt save and sync process * PreSyncReceipt should be called for each receipt in multiorders --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
(0102398) ranjith_qualiantech_com (viewer) 2018-02-14 12:11 |
receipt json should be updated after preSyncReceipt |
(0102543) hgbot (developer) 2018-02-21 08:25 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 928a4741ef6907df1ebbccfa6af04035229a00c9 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Feb 21 12:54:38 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/928a4741ef6907df1ebbccfa6af04035229a00c9 [^] Fixed issue 37507 : Refactor PreSyncReceipt in receipt, multiorders * receipt json should be set after PreSyncReceipt hook * Seperate transaction for saving receipt since hook PreSyncReceipt is async * successCallbck for transaction is called after PreSyncReceipt completes --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js M web/org.openbravo.retail.posterminal/js/model/order.js M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-12-19 10:48 | marvintm | New Issue | |
2017-12-19 10:48 | marvintm | Assigned To | => Retail |
2017-12-19 10:48 | marvintm | OBNetwork customer | => No |
2017-12-19 10:48 | marvintm | Triggers an Emergency Pack | => No |
2017-12-19 10:49 | aferraz | Issue Monitored: aferraz | |
2017-12-22 12:10 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-12-26 09:51 | ranjith_qualiantech_com | Status | new => scheduled |
2018-01-05 12:52 | hgbot | Checkin | |
2018-01-05 12:52 | hgbot | Note Added: 0101592 | |
2018-01-05 12:52 | hgbot | Status | scheduled => resolved |
2018-01-05 12:52 | hgbot | Resolution | open => fixed |
2018-01-05 12:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2898eecee9697b2be47bff59daca97eb54432ba4 [^] |
2018-01-08 18:18 | marvintm | Note Added: 0101626 | |
2018-01-08 18:18 | marvintm | Status | resolved => new |
2018-01-08 18:18 | marvintm | Resolution | fixed => open |
2018-01-15 14:01 | aferraz | Note Added: 0101694 | |
2018-01-16 08:29 | aferraz | Note Added: 0101711 | |
2018-01-16 09:10 | aferraz | Note Deleted: 0101711 | |
2018-01-17 11:32 | hgbot | Checkin | |
2018-01-17 11:32 | hgbot | Note Added: 0101744 | |
2018-01-17 11:32 | hgbot | Status | new => resolved |
2018-01-17 11:32 | hgbot | Resolution | open => fixed |
2018-01-17 11:32 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2898eecee9697b2be47bff59daca97eb54432ba4 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/49a47f0e9f007f8a1f6ae11f61dc81d259f38e19 [^] |
2018-01-24 18:53 | aferraz | Note Added: 0101931 | |
2018-01-24 18:57 | aferraz | Status | resolved => new |
2018-01-24 18:57 | aferraz | Resolution | fixed => open |
2018-01-29 16:02 | ranjith_qualiantech_com | Status | new => scheduled |
2018-01-30 10:42 | hgbot | Checkin | |
2018-01-30 10:42 | hgbot | Note Added: 0102044 | |
2018-01-30 10:42 | hgbot | Status | scheduled => resolved |
2018-01-30 10:42 | hgbot | Resolution | open => fixed |
2018-01-30 10:42 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/49a47f0e9f007f8a1f6ae11f61dc81d259f38e19 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0948174235a6e5c917cdfd46c3a45ff4de92fbb [^] |
2018-01-31 14:35 | marvintm | Note Added: 0102093 | |
2018-01-31 14:35 | marvintm | Status | resolved => new |
2018-01-31 14:35 | marvintm | Resolution | fixed => open |
2018-02-01 18:48 | aferraz | Note Added: 0102122 | |
2018-02-02 12:06 | ranjith_qualiantech_com | Status | new => scheduled |
2018-02-05 09:32 | hgbot | Checkin | |
2018-02-05 09:32 | hgbot | Note Added: 0102167 | |
2018-02-05 09:32 | hgbot | Status | scheduled => resolved |
2018-02-05 09:32 | hgbot | Resolution | open => fixed |
2018-02-05 09:32 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0948174235a6e5c917cdfd46c3a45ff4de92fbb [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6956dba51f4e3a651acff90c04e08e77ed7f95e3 [^] |
2018-02-05 14:23 | aferraz | Note Added: 0102191 | |
2018-02-06 17:01 | aferraz | Note Deleted: 0102191 | |
2018-02-13 09:47 | marvintm | Review Assigned To | => marvintm |
2018-02-13 09:47 | marvintm | Status | resolved => closed |
2018-02-13 09:47 | marvintm | Fixed in Version | => RR18Q2 |
2018-02-13 14:47 | ranjith_qualiantech_com | Note Added: 0102363 | |
2018-02-13 14:47 | ranjith_qualiantech_com | Status | closed => new |
2018-02-13 14:47 | ranjith_qualiantech_com | Resolution | fixed => open |
2018-02-13 14:47 | ranjith_qualiantech_com | Fixed in Version | RR18Q2 => |
2018-02-13 14:47 | ranjith_qualiantech_com | Note Added: 0102364 | |
2018-02-13 14:47 | ranjith_qualiantech_com | Note Deleted: 0102364 | |
2018-02-14 08:37 | hgbot | Checkin | |
2018-02-14 08:37 | hgbot | Note Added: 0102384 | |
2018-02-14 08:37 | hgbot | Status | new => resolved |
2018-02-14 08:37 | hgbot | Resolution | open => fixed |
2018-02-14 08:37 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6956dba51f4e3a651acff90c04e08e77ed7f95e3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/493a942155e187815771d1c271e45188ee860396 [^] |
2018-02-14 12:11 | ranjith_qualiantech_com | Note Added: 0102398 | |
2018-02-14 12:11 | ranjith_qualiantech_com | Status | resolved => new |
2018-02-14 12:11 | ranjith_qualiantech_com | Resolution | fixed => open |
2018-02-14 12:11 | ranjith_qualiantech_com | Status | new => scheduled |
2018-02-15 12:57 | ranjith_qualiantech_com | File Added: issue 37507 source posterminal.patch | |
2018-02-21 08:25 | hgbot | Checkin | |
2018-02-21 08:25 | hgbot | Note Added: 0102543 | |
2018-02-21 08:25 | hgbot | Status | scheduled => resolved |
2018-02-21 08:25 | hgbot | Resolution | open => fixed |
2018-02-21 08:25 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/493a942155e187815771d1c271e45188ee860396 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/928a4741ef6907df1ebbccfa6af04035229a00c9 [^] |
2018-03-07 09:24 | marvintm | Status | resolved => closed |
2018-03-07 09:24 | marvintm | Fixed in Version | => RR18Q2 |
Copyright © 2000 - 2009 MantisBT Group |