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:
commit
9b626d06fc
@ -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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user