Pman.Dialog.XtupleTransfer.bjs
authorEdward <edward@roojs.com>
Mon, 14 Jul 2014 06:01:27 +0000 (14:01 +0800)
committerEdward <edward@roojs.com>
Mon, 14 Jul 2014 06:01:27 +0000 (14:01 +0800)
Pman.Dialog.XtupleTransfer.js

Pman.Dialog.XtupleTransfer.bjs
Pman.Dialog.XtupleTransfer.js

index a7ddafc..e023c43 100644 (file)
                                                                 {
                                                                     "listeners": {
                                                                         "select": "function (combo, record, index)\n{\n    combo._is_internalcompany = false;\n    \n    if(record.data.cust_to_internalcompany.length){\n        combo._is_internalcompany = true;\n    }\n    \n    _this.grid.setColumns();\n}",
-                                                                        "render": "function (_self)\n{\n    _this.toLocation = _self;\n}"
+                                                                        "render": "function (_self)\n{\n    _this.toLocation = _self;\n    _this.toLocation._is_internalcompany = false;\n}"
                                                                     },
                                                                     "allowBlank": false,
                                                                     "displayField": "location_descrip",
index 2e633eb..f3b5fe1 100644 (file)
@@ -419,6 +419,7 @@ Pman.Dialog.XtupleTransfer = {
                                                                     render : function (_self)
                                                                     {
                                                                         _this.toLocation = _self;
+                                                                        _this.toLocation._is_internalcompany = false;
                                                                     }
                                                                 },
                                                                 allowBlank : false,