Skip to content

Commit

Permalink
feat(subcontracting): Added provision to create multiple Subcontracti…
Browse files Browse the repository at this point in the history
…ng Orders against a single Purchase Order (#44711)

* feat(subcontracting): Added provision to create multiple Subcontracting Orders from a single Subcontracted Purchase Order

* refactor(new_sc_flow_2): Fixed error thrown by semgrep
  • Loading branch information
mihir-kandoi committed Dec 19, 2024
1 parent 0e431ae commit e6ca4f1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions erpnext/buying/doctype/purchase_order/purchase_order.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,6 @@ erpnext.buying.PurchaseOrderController = class PurchaseOrderController extends (
);
}
} else {
<<<<<<< HEAD
cur_frm.add_custom_button(
__("Subcontracting Order"),
this.make_subcontracting_order,
__("Create")
);
=======
if (!doc.items.every((item) => item.qty == item.sco_qty)) {
this.frm.add_custom_button(
__("Subcontracting Order"),
Expand All @@ -416,7 +409,6 @@ erpnext.buying.PurchaseOrderController = class PurchaseOrderController extends (
__("Create")
);
}
>>>>>>> 3eba6bf3dd (feat(subcontracting): Added provision to create multiple Subcontracting Orders against a single Purchase Order (#44711))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -910,8 +910,6 @@
{
"fieldname": "column_break_fyqr",
"fieldtype": "Column Break"
<<<<<<< HEAD
=======
},
{
"fieldname": "column_break_pjyo",
Expand All @@ -937,18 +935,13 @@
"label": "Subcontracted Quantity",
"no_copy": 1,
"read_only": 1
>>>>>>> 3eba6bf3dd (feat(subcontracting): Added provision to create multiple Subcontracting Orders against a single Purchase Order (#44711))
}
],
"idx": 1,
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
<<<<<<< HEAD
"modified": "2024-02-05 11:23:24.859435",
=======
"modified": "2024-12-10 12:11:18.536089",
>>>>>>> 3eba6bf3dd (feat(subcontracting): Added provision to create multiple Subcontracting Orders against a single Purchase Order (#44711))
"modified_by": "Administrator",
"module": "Buying",
"name": "Purchase Order Item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,6 @@
"no_copy": 1,
"read_only": 1,
"search_index": 1
<<<<<<< HEAD
=======
},
{
"fieldname": "references_section",
Expand All @@ -407,7 +405,6 @@
"hidden": 1,
"label": "SC Conversion Factor",
"read_only": 1
>>>>>>> 3eba6bf3dd (feat(subcontracting): Added provision to create multiple Subcontracting Orders against a single Purchase Order (#44711))
}
],
"idx": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,7 @@
],
"istable": 1,
"links": [],
<<<<<<< HEAD
"modified": "2023-11-30 13:29:31.017440",
=======
"modified": "2024-12-05 17:33:46.099601",
>>>>>>> 3eba6bf3dd (feat(subcontracting): Added provision to create multiple Subcontracting Orders against a single Purchase Order (#44711))
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order Service Item",
Expand Down

0 comments on commit e6ca4f1

Please sign in to comment.