From 33a21ffbdc414f99d5b4d85243d0d0eb11f858d4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 25 Jun 2014 18:34:29 +0530 Subject: [PATCH] Minor fixes in recurring invoice --- erpnext/accounts/doctype/account/account.js | 1 - erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/account/account.js b/erpnext/accounts/doctype/account/account.js index 471fe7e9b67..e39d77bcd35 100644 --- a/erpnext/accounts/doctype/account/account.js +++ b/erpnext/accounts/doctype/account/account.js @@ -54,7 +54,6 @@ cur_frm.add_fetch('parent_account', 'root_type', 'root_type'); cur_frm.cscript.account_type = function(doc, cdt, cdn) { if(doc.group_or_ledger=='Ledger') { cur_frm.toggle_display(['tax_rate'], doc.account_type == 'Tax'); - cur_frm.toggle_display('master_type', cstr(doc.account_type)==''); cur_frm.toggle_display('master_name', doc.account_type=='Warehouse' || in_list(['Customer', 'Supplier'], doc.master_type)); } diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index 348543ee28d..614c13a315b 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -747,7 +747,7 @@ def assign_task_to_owner(inv, msg, users): 'doctype' : 'Sales Invoice', 'name' : inv, 'description' : msg, - 'priority' : 'Urgent' + 'priority' : 'High' } assign_to.add(args)