View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:Show Product Search Key WebPOS/Technical Specification

Introduction

In this document are described all the developments needed to properly implement the Show Product Search Key WebPOS module.

Module Definition

Implementation

The module is implemented overwriting the OB.UI.RenderProduct enyo kind. In this file it is changed the content of the topLine component to:

this.$.topLine.setContent(this.model.get('searchkey') + ' - ' + this.model.get('_identifier'));

This kind is originally created in ob-retail-product-browser.js of Mobile Core module. And it is overwritten in the renderproduct.js file of POS Terminal module. Any fix included in these files should be included in the file provided on this module.


From 3.0PR15Q3 release, new functionality is added to be capable of show product's search key in order lines panel too.

As in the previous case, the module is implemented overwriting an enyo kind, OB.UI.RenderOrderLine in this case. The content of the product is changed to:

this.$.product.setContent(this.model.get('product').get('searchkey') + ' - ' + this.model.get('product').get('_identifier'));

In addition, new preferences are created to be capable of show only one of the two functionalities or both. Disabling this preferences causes that only identifier will be shown.

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Show_Product_Search_Key_WebPOS/Technical_Specification"

This page has been accessed 352 times. This page was last modified on 30 April 2015, at 16:49. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.