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

Retail:Developers Guide/How-to/Remove Document No Separator

Introduction

In Web POS, Document no separator should be allowed to customise. By default Document no separator is hardcoded as “/”. Eg:

<Doc Type Prefix> + “/” + <Sequential number>

But if this separator is not needed or needs to be changed, it should be customised. Also it should allow to have different Document no separator for different documents like Sales, Quotation and Return.

Removing the slash character separator

If the Document no separator needs to be changed, then the default Document no separator should be removed and new separator can be appended to the document.

To remove it you must create a new module and add the following javascript line:

 
OB.Model.Order.prototype.includeDocNoSeperator = false;
 

This is the result:

Removedslashseparator.png

Retrieved from "http://wiki.openbravo.com/wiki/Retail:Developers_Guide/How-to/Remove_Document_No_Separator"

This page has been accessed 1,222 times. This page was last modified on 30 November 2016, at 12:42. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.