fix: Add docstatus filter for voucher_no in Repost Item Valuation

This commit is contained in:
Sagar Sharma 2022-08-21 12:09:08 +05:30
parent 588ca68171
commit 520306dc87

View File

@ -24,7 +24,8 @@ frappe.ui.form.on('Repost Item Valuation', {
frm.set_query("voucher_no", () => { frm.set_query("voucher_no", () => {
return { return {
filters: { filters: {
company: frm.doc.company company: frm.doc.company,
docstatus: 1
} }
}; };
}); });