mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 00:25:01 +00:00
fix: Fixed logic in if condition causing tests to fail
This commit is contained in:
@@ -104,7 +104,7 @@ class SubcontractingController(StockController):
|
||||
)
|
||||
|
||||
if (
|
||||
not item.sc_conversion_factor
|
||||
self.doctype == "Subcontracting Order" and not item.sc_conversion_factor
|
||||
): # this condition will only be true if user has recently updated from develop branch
|
||||
service_item_qty = frappe.get_value(
|
||||
"Subcontracting Order Service Item",
|
||||
|
||||
Reference in New Issue
Block a user