# HG changeset patch
# User Mario Castello <mario.castello@peoplewalking.com>
# Date 1465416801 21600
#      mié jun 08 14:13:21 2016 -0600
# Node ID d629b0f4ebc4a9f072640bf4a52b515bd6264e1f
# Parent  33cef587add49b50e76bb9f67852551275bd1ffa
Fixed issue 32975: Set floating to false in modalpaidreceipt popup, businesspartner popup and bplocation popup. Set modal to true to prevent action behind all this popups.

diff --git a/web/org.openbravo.retail.posterminal/js/components/bplocation.js b/web/org.openbravo.retail.posterminal/js/components/bplocation.js
--- a/web/org.openbravo.retail.posterminal/js/components/bplocation.js
+++ b/web/org.openbravo.retail.posterminal/js/components/bplocation.js
@@ -384,6 +384,9 @@
   name: 'OB.UI.ModalBPLocation',
   topPosition: '125px',
   kind: 'OB.UI.Modal',
+  floating: false,
+  modal: true,
+  scrimWhenModal: true,
   executeOnShow: function () {
     this.$.body.$.listBpsLoc.setBPartnerId(this.model.get('order').get('bp').get('id'));
     this.$.body.$.listBpsLoc.$.bpsloclistitemprinter.$.theader.$.modalBpLocScrollableHeader.searchAction();
diff --git a/web/org.openbravo.retail.posterminal/js/components/businesspartner.js b/web/org.openbravo.retail.posterminal/js/components/businesspartner.js
--- a/web/org.openbravo.retail.posterminal/js/components/businesspartner.js
+++ b/web/org.openbravo.retail.posterminal/js/components/businesspartner.js
@@ -409,6 +409,9 @@
   name: 'OB.UI.ModalBusinessPartners',
   topPosition: '125px',
   kind: 'OB.UI.Modal',
+  floating: false,
+  modal: true,
+  scrimWhenModal: true,
   executeOnShow: function () {
     this.$.body.$.listBps.$.stBPAssignToReceipt.$.theader.$.modalBpScrollableHeader.$.newAction.putDisabled(!OB.MobileApp.model.hasPermission('OBPOS_retail.editCustomers'));
     return true;
diff --git a/web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js b/web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
--- a/web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
+++ b/web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
@@ -472,6 +472,9 @@
   kind: 'OB.UI.Modal',
   topPosition: '125px',
   i18nHeader: 'OBPOS_LblPaidReceipts',
+  floating: false,
+  modal: true,
+  scrimWhenModal: true,
   published: {
     params: null
   },
