Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037348 | Retail Modules | Web POS | public | 2017-11-22 07:32 | 2017-12-04 17:16 |
Reporter | guilleaer | ||||
Assigned To | guilleaer | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR18Q1 | Fixed in Version | RR18Q1 | ||
Merge Request Status | |||||
Review Assigned To | migueldejuana | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037348: After execute the hook OBPOS_PreShowPane web POS is not listening tabName changes done in the hook implementation | ||||
Description | After execute the hook OBPOS_PreShowPane web POS is not listening tabName changes done in the hook implementation | ||||
Steps To Reproduce | create an implementation for hook OBPOS_PreShowPane and try to change the tab which is being shown. It is not working example: enyo.kind({ name: 'OB.OBPOSPointOfSale.UI.TabBrowseGal', kind: 'OB.UI.TabPane', components: [{ kind: 'OB.UI.ProductBrowserGAL', name: 'catalogTabContentGal' }] }); enyo.kind({ name: 'OB.UI.ProductBrowserGAL', useCharacteristics: true, style: 'background-color: #ffffff;color: black;height: 612px; margin: 5px;', components: [{ kind: 'OB.UI.FlexComponent', flexDirection: 'column', flexContent: [{content: 'Categories'}, {content: 'Products'}] }], executeOnShow: function () { console.log('executeOnShow ProductBrowserGAL'); } }); OB.OBPOSPointOfSale.UI.RightToolbarPane.prototype.kindComponents.push({ kind: 'OB.OBPOSPointOfSale.UI.TabBrowseGal', name: 'catalogGal' }); OB.UTIL.HookManager.registerHook('OBPOS_PreShowPane', function (args, callbacks) { //TODO Here the correct condition if (args.tabName === 'catalog') { args.tabName = 'catalogGal'; } OB.UTIL.HookManager.callbackExecutor(args, callbacks); }); | ||||
Proposed Solution | Read the object returned by hook | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11312&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-11-22 07:32 | guilleaer | New Issue | |||
2017-11-22 07:32 | guilleaer | Assigned To | => guilleaer | ||
2017-11-22 07:32 | guilleaer | OBNetwork customer | => No | ||
2017-11-22 07:32 | guilleaer | Triggers an Emergency Pack | => No | ||
2017-11-22 07:33 | guilleaer | File Added: issue_37348.diff | |||
2017-11-22 07:55 | guilleaer | Status | new => scheduled | ||
2017-11-22 20:32 | hgbot | Checkin | |||
2017-11-22 20:32 | hgbot | Note Added: 0100674 | |||
2017-11-22 20:32 | hgbot | Status | scheduled => resolved | ||
2017-11-22 20:32 | hgbot | Resolution | open => fixed | ||
2017-11-22 20:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c8e957224fa3a06be9e66d4776ea314a4805748 [^] | ||
2017-12-04 17:16 | migueldejuana | Review Assigned To | => migueldejuana | ||
2017-12-04 17:16 | migueldejuana | Note Added: 0100924 | |||
2017-12-04 17:16 | migueldejuana | Status | resolved => closed | ||
2017-12-04 17:16 | migueldejuana | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|