mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
perf: timeout for auto material request through reorder level
This commit is contained in:
@@ -599,7 +599,7 @@ class SellingController(StockController):
|
||||
if self.doctype in ["Sales Order", "Quotation"]:
|
||||
for item in self.items:
|
||||
item.gross_profit = flt(
|
||||
((item.base_rate - item.valuation_rate) * item.stock_qty), self.precision("amount", item)
|
||||
((item.base_rate - flt(item.valuation_rate)) * item.stock_qty), self.precision("amount", item)
|
||||
)
|
||||
|
||||
def set_customer_address(self):
|
||||
|
||||
Reference in New Issue
Block a user