mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
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:
@@ -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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user