perf: timeout for auto material request through reorder level

(cherry picked from commit 951023f434)
This commit is contained in:
Rohit Waghchaure
2024-01-31 11:32:17 +05:30
committed by Mergify
parent 3eac436e7b
commit 1b2831bdfe
4 changed files with 172 additions and 42 deletions

View File

@@ -602,7 +602,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):