mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Merge pull request #2475 from neilLasrado/sales-invoice
sales Invoice- filter added for debit to
This commit is contained in:
@@ -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']
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user