Fixed translations and tests (#12900)

* Fixed translations and tests

* minor fixes

* minor test fixes
This commit is contained in:
Nabin Hait
2018-02-14 17:44:06 +05:30
committed by GitHub
parent 361366ebe6
commit e6d65bc2a1
43 changed files with 187 additions and 168 deletions

View File

@@ -133,7 +133,7 @@ var get_payment_mode_account = function(frm, mode_of_payment, callback) {
cur_frm.cscript.account_head = function(doc, cdt, cdn) {
var d = locals[cdt][cdn];
if(!d.charge_type && d.account_head){
frappe.msgprint("Please select Charge Type first");
frappe.msgprint(__("Please select Charge Type first"));
frappe.model.set_value(cdt, cdn, "account_head", "");
} else if(d.account_head && d.charge_type!=="Actual") {
frappe.call({