View source | Discuss this page | Page history | Printable version   

Retail:Developers Guide/Terminal properties



When accessing Web POS it is needed to indicate the terminal in the URL. for example: http://<your-openbravo-server>/openbravo/web/org.openbravo.retail.posterminal/?terminal=POS-1 where POS-1 is the Search key value of the POS Terminal window where are defined all the configuration parameters for the terminal. All these configuration properties and other general properties are available in javascript from the global Backbone model OB.POS.modelterminal

Attributes included in the terminal model

The OB.POS.modelterminal model is defined in the javascript file: org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/model/terminal.js, All these attributes are loaded/set when the terminal loads.

The attributes are:

These attributes can be accessed using javascript by:



The OB.POS.modelterminal model is also responsible of checking the security of actions and windows defined as Role preferences. To check if the logged user has permissions to certain action or window you can call the following function checks whether the user has permission to change the price of an order line or not:


Add properties through module

Since RMP24, the properties loaded in terminal model can be extended by a module thanks to 'Properties loader'.

Back to Concepts

Retrieved from ""

This page has been accessed 4,595 times. This page was last modified on 23 October 2013, at 16:09. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.