mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 03:23:35 +00:00
fix: Fixed logic in if condition causing tests to fail
(cherry picked from commit 575fb43f9c)
This commit is contained in:
@@ -104,7 +104,7 @@ class SubcontractingController(StockController):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (
|
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
|
): # this condition will only be true if user has recently updated from develop branch
|
||||||
service_item_qty = frappe.get_value(
|
service_item_qty = frappe.get_value(
|
||||||
"Subcontracting Order Service Item",
|
"Subcontracting Order Service Item",
|
||||||
|
|||||||
Reference in New Issue
Block a user