Openbravo Issue Tracking System - Retail Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029160 | Retail Modules | Web POS | public | 2015-03-06 09:30 | 2015-03-13 13:02 |
|
| Reporter | aaroncalero | |
| Assigned To | aaroncalero | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | RR15Q2 | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | adrianromero |
| OBNetwork customer | No |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0029160: The BarcodeActionHandler component should be refactored to allow more specific extensions |
| Description | The BarcodeActionHandler component should be refactored to allow more specific extensions.
The way it is now, if an external module requires to extend the OB.UI.BarcodeActionHandler component to do a custom search, it must override the findProductByBarcode function and all the callbacks inside it, thus duplicating code.
It is not possible to override just one callback. |
| Steps To Reproduce | Check the web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js on the org.openbravo.retail.posterminal module and verify that the component contains only the functions addWhereFilter and findProductByBarcode. |
| Proposed Solution | All callbacks should be 'public' functions of the component, so external modules can override them independently |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0035812 | | closed | Sandrahuguet | Upc filter is wrong built in remote query for products | | blocks | defect | 0029161 | RR15Q2 | closed | aaroncalero | [MultiUPC] Refactor the Retail MultiUPC module to use the new BarcodeHandler componen structure |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-03-06 09:30 | aaroncalero | New Issue | |
| 2015-03-06 09:30 | aaroncalero | Assigned To | => aaroncalero |
| 2015-03-06 09:30 | aaroncalero | OBNetwork customer | => No |
| 2015-03-06 09:30 | aaroncalero | Triggers an Emergency Pack | => No |
| 2015-03-06 09:38 | aaroncalero | Relationship added | blocks 0029161 |
| 2015-03-06 11:06 | hgbot | Checkin | |
| 2015-03-06 11:06 | hgbot | Note Added: 0075237 | |
| 2015-03-06 11:06 | hgbot | Status | new => resolved |
| 2015-03-06 11:06 | hgbot | Resolution | open => fixed |
| 2015-03-06 11:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6223f8155593fe908e1e5437816bd16a78ca32c4 [^] |
| 2015-03-13 13:02 | adrianromero | Review Assigned To | => adrianromero |
| 2015-03-13 13:02 | adrianromero | Note Added: 0075551 | |
| 2015-03-13 13:02 | adrianromero | Status | resolved => closed |
| 2017-04-20 16:51 | Sandrahuguet | Relationship added | related to 0035812 |