Fixed translations and tests (#12900)
* Fixed translations and tests * minor fixes * minor test fixes
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user