From 8750caa8e36ce3ffa764663bdbef2950a6432689 Mon Sep 17 00:00:00 2001 From: Khushal Trivedi Date: Fri, 18 Oct 2019 17:01:16 +0530 Subject: [PATCH] [Fix] - if its not multi company set it by default on BO --- erpnext/manufacturing/doctype/blanket_order/blanket_order.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/manufacturing/doctype/blanket_order/blanket_order.js b/erpnext/manufacturing/doctype/blanket_order/blanket_order.js index b6ad27632e..19ec2fc00a 100644 --- a/erpnext/manufacturing/doctype/blanket_order/blanket_order.js +++ b/erpnext/manufacturing/doctype/blanket_order/blanket_order.js @@ -12,6 +12,7 @@ frappe.ui.form.on('Blanket Order', { }, refresh: function(frm) { + erpnext.hide_company(); if (frm.doc.customer && frm.doc.docstatus === 1) { frm.add_custom_button(__('View Orders'), function() { frappe.set_route('List', 'Sales Order', {blanket_order: frm.doc.name});