fix: Add docstatus filter for voucher_no in Repost Item Valuation
This commit is contained in:
parent
588ca68171
commit
520306dc87
@ -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