Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039653 | Retail Modules | Web POS | public | 2018-11-20 11:16 | 2018-12-17 13:25 |
Reporter | ebecerra | ||||
Assigned To | ebecerra | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR19Q1 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039653: Show stock alert for discontinued products in a customizable dialog | ||||
Description | When stock for discontinued products not is enough the message is shown with "OB.UTIL.showAlert". Must be created a new dialog to show de message and allow to other modules include new buttons | ||||
Steps To Reproduce | N/A | ||||
Proposed Solution | 1. Create a new dialog: OB.OBPOSPointOfSale.UI.Modals.ModalStockDiscontinued 2. When show the dialog the buttons are passed as arguments 3. It be possible add buttons predefined, this buttons always shown 4. Replace all call to show alert message: "OBPOS_ErrorProductDiscontinued" with the new dialog Example: OB.MobileApp.view.$.containerWindow.getRoot().doShowPopup({ popup: 'OBPOSPointOfSale_UI_Modals_ModalStockDiscontinued', args: { header: OB.I18N.getLabel('OBMOBC_Error'), message: OB.I18N.getLabel('OBPOS_ErrorProductDiscontinued', ...), hideClose: true, buttons: [{ label: OB.I18N.getLabel('OBMOBC_LblOk'), action: function () { .... }, displayLogic: function () { .... } }] } }); Arguments: - header: Dialog header - message: Message to show - hideClose: * true: Hide button "close" and set autoDismiss = true * undefined or false: Show button "close" and set autoDismiss = false - buttons: Array of buttons * label: Button label * action: Action to execute when button is pushed * displayLogic: Before show the dialog, this function is called (if defined) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | pi-mobile.diff (5,466) 2018-12-13 13:17 https://issues.openbravo.com/file_download.php?file_id=12433&type=bug posterminal.diff (7,066) 2018-12-13 13:19 https://issues.openbravo.com/file_download.php?file_id=12434&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-11-20 11:16 | ebecerra | New Issue | |||
2018-11-20 11:16 | ebecerra | Assigned To | => Retail | ||
2018-11-20 11:16 | ebecerra | Triggers an Emergency Pack | => No | ||
2018-11-23 13:22 | ebecerra | File Added: posterminal.diff | |||
2018-11-23 14:26 | guillermogil | Review Assigned To | => marvintm | ||
2018-11-23 14:26 | guillermogil | Assigned To | Retail => ebecerra | ||
2018-11-26 08:34 | ebecerra | File Deleted: posterminal.diff | |||
2018-11-26 08:36 | ebecerra | File Added: posterminal.diff | |||
2018-12-13 13:17 | ebecerra | File Added: pi-mobile.diff | |||
2018-12-13 13:19 | ebecerra | File Deleted: posterminal.diff | |||
2018-12-13 13:19 | ebecerra | File Added: posterminal.diff | |||
2018-12-13 13:20 | hgbot | Checkin | |||
2018-12-13 13:20 | hgbot | Note Added: 0108581 | |||
2018-12-13 13:21 | hgbot | Checkin | |||
2018-12-13 13:21 | hgbot | Note Added: 0108582 | |||
2018-12-13 13:23 | guillermogil | Status | new => scheduled | ||
2018-12-13 13:23 | guillermogil | Status | scheduled => resolved | ||
2018-12-13 13:23 | guillermogil | Resolution | open => fixed | ||
2018-12-17 13:25 | marvintm | Status | resolved => closed | ||
2018-12-17 13:25 | marvintm | Fixed in Version | => RR19Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|