Skip to content

Commit

Permalink
feat: exclude closed work orders
Browse files Browse the repository at this point in the history
  • Loading branch information
fproldan committed Mar 7, 2024
1 parent c843fca commit 0e631d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inventory_tools/public/js/job_card_custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function add_swith_work_order_action(frm) {
return {
filters: [
['docstatus', '=', '1'],
['status', '!=', 'Closed'],
['bom_no', '=', frm.doc.bom_no],
['company', '=', frm.doc.company],
['name', '!=', frm.doc.work_order],
Expand Down

0 comments on commit 0e631d1

Please sign in to comment.