diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index f233a7949f..1538a94ff0 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -42,9 +42,9 @@ cur_frm.cscript.make_dashboard = function(doc) { if(r.message["company_currency"].length == 1) { cur_frm.dashboard.set_headline( __("Total Billing This Year: ") + "" - + format_currency(r.message.total_billing, company_currency[0]) + + format_currency(r.message.total_billing, r.message.company_currency[0]) + ' / ' + __("Unpaid") + ": " - + format_currency(r.message.total_unpaid, company_currency[0]) + + format_currency(r.message.total_unpaid, r.message.company_currency[0]) + ''); } } diff --git a/erpnext/patches.txt b/erpnext/patches.txt index df3d772a2b..bc9f3bab34 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -36,6 +36,7 @@ erpnext.patches.v4_0.countrywise_coa execute:frappe.delete_doc("DocType", "MIS Control") execute:frappe.delete_doc("Page", "Financial Statements") execute:frappe.delete_doc("DocType", "Stock Ledger") +execute:frappe.reload_doc("accounts", "doctype", "journal_entry") # 2014-12-31 execute:frappe.db.sql("update `tabJournal Entry` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''") execute:frappe.delete_doc("DocType", "Grade") execute:frappe.db.sql("delete from `tabWebsite Item Group` where ifnull(item_group, '')=''") diff --git a/erpnext/public/js/pos/pos.js b/erpnext/public/js/pos/pos.js index 5357d8eba3..da2de904b0 100644 --- a/erpnext/public/js/pos/pos.js +++ b/erpnext/public/js/pos/pos.js @@ -370,14 +370,10 @@ erpnext.POS = Class.extend({ }); me.refresh_delete_btn(); -<<<<<<< HEAD:erpnext/accounts/doctype/sales_invoice/pos.js - if(me.frm.doc[this.party.toLowerCase()]) { -======= //me.focus(); }, focus: function() { - if(me.frm.doc[this.party]) { ->>>>>>> v5-design:erpnext/public/js/pos/pos.js + if(me.frm.doc[this.party].toLowerCase()) { this.barcode.$input.focus(); } else { if(!(this.frm.doctype == "Quotation" && this.frm.doc.quotation_to!="Customer"))