sales Invoice- filter added for debit to

This commit is contained in:
Neil Trini Lasrado 2014-12-09 17:03:13 +05:30
parent 9f32a50379
commit c0063a6e74

View File

@ -403,3 +403,12 @@ cur_frm.cscript.send_sms = function() {
var sms_man = new SMSManager(cur_frm.doc); var sms_man = new SMSManager(cur_frm.doc);
} }
cur_frm.set_query("debit_to", function(doc) {
return{
filters: [
['Account', 'root_type', '=', 'Asset'],
['Account', 'account_type', '=', 'Receivable']
]
}
});