Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036701 | Retail Modules | Web POS | public | 2017-08-23 10:22 | 2017-09-15 11:56 | |||||||
Reporter | jonibc | |||||||||||
Assigned To | jorge-garcia | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR17Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036701: [SERQA 3212] EnableButtonsCallback is not done in cancellation of BeforeCustomerAddrSave hook | |||||||||||
Description | If cancellation argument is true, enableButtonsCallback is not done. The buttons get blocked and it is not possible to save any new address until a refresh is done. | |||||||||||
Steps To Reproduce | Implement a hook where we always set args.cancellation = true. Check that buttons for addresses are blocked until a refresh is done. | |||||||||||
Proposed Solution | Do call to enableButtonsCallback before return true in cancellation of BeforeCustomerAddrSave hook. Check the following extract of code. OB.UTIL.HookManager.executeHooks('OBPOS_BeforeCustomerAddrSave', { customerAddr: this.model.get('customerAddr'), isNew: true, windowComponent: me }, function(args) { if (args && args.cancellation && args.cancellation === true) { // Add enableButtonsCallback enableButtonsCallback(); return true; } | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-08-23 10:22 | jonibc | New Issue | ||||||||||
2017-08-23 10:22 | jonibc | Assigned To | => Retail | |||||||||
2017-08-23 10:22 | jonibc | OBNetwork customer | => Yes | |||||||||
2017-08-23 10:22 | jonibc | Resolution time | => 1504562400 | |||||||||
2017-08-23 10:22 | jonibc | Triggers an Emergency Pack | => No | |||||||||
2017-08-23 10:23 | jonibc | Summary | [SERQA 3212] EnableButtonsCallback is not done in cancellation => [SERQA 3212] EnableButtonsCallback is not done in cancellation of BeforeCustomerAddrSave hook | |||||||||
2017-08-23 10:35 | jonibc | Relationship added | related to 0035981 | |||||||||
2017-08-23 23:32 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
2017-08-23 23:32 | rqueralta | Status | new => scheduled | |||||||||
2017-08-29 09:58 | jonibc | Issue Monitored: jonibc | ||||||||||
2017-09-11 11:17 | jorge-garcia | Assigned To | rqueralta => jorge-garcia | |||||||||
2017-09-11 17:07 | hgbot | Checkin | ||||||||||
2017-09-11 17:07 | hgbot | Note Added: 0098951 | ||||||||||
2017-09-11 17:08 | hgbot | Checkin | ||||||||||
2017-09-11 17:08 | hgbot | Note Added: 0098952 | ||||||||||
2017-09-11 17:08 | hgbot | Status | scheduled => resolved | |||||||||
2017-09-11 17:08 | hgbot | Resolution | open => fixed | |||||||||
2017-09-11 17:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e3d4f2d75c3455e767f3471ee4937896ebd04ad9 [^] | |||||||||
2017-09-15 11:56 | marvintm | Review Assigned To | => marvintm | |||||||||
2017-09-15 11:56 | marvintm | Status | resolved => closed | |||||||||
2017-09-15 11:56 | marvintm | Fixed in Version | => RR17Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|