mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
test: test case to validate rejected qty without accepted warehouse
(cherry picked from commit ac5df1abbe)
This commit is contained in:
committed by
mergify-bot
parent
157461ed02
commit
3038a5cd5a
@@ -467,7 +467,7 @@ class BuyingController(StockController, Subcontracting):
|
||||
if d.item_code not in stock_items:
|
||||
continue
|
||||
|
||||
if d.item_code in stock_items and d.warehouse:
|
||||
if d.warehouse:
|
||||
pr_qty = flt(d.qty) * flt(d.conversion_factor)
|
||||
|
||||
if pr_qty:
|
||||
|
||||
Reference in New Issue
Block a user