diff --git a/web/org.openbravo.retail.rtserver/js/components/obrtser-returninformationmodal.js b/web/org.openbravo.retail.rtserver/js/components/obrtser-returninformationmodal.js
index 87443b8..cb16df9 100644
--- a/web/org.openbravo.retail.rtserver/js/components/obrtser-returninformationmodal.js
+++ b/web/org.openbravo.retail.rtserver/js/components/obrtser-returninformationmodal.js
@@ -38,7 +38,8 @@ enyo.kind({
       },
       {
         name: 'referenceRegister',
-        kind: 'OBRTSER.UI.PropertyEditLine'
+        kind: 'OBRTSER.UI.PropertyEditLine',
+        maxInputLength: 8
       },
       {
         name: 'referenceDocDateTime',
@@ -214,6 +215,8 @@ enyo.kind({
   ],
   initComponents: function() {
     this.inherited(arguments);
+    this.maxInputLength &&
+      this.$.inputText.setAttribute('maxLength', this.maxInputLength);
   }
 });
 
