Merge pull request #31909 from s-aga-r/filters/repost-item-valuation/voucher-no

fix: Add docstatus filter for voucher_no in Repost Item Valuation
This commit is contained in:
Deepesh Garg 2022-08-25 10:49:29 +05:30 committed by GitHub
commit 9b626d06fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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