test: test case to validate rejected qty without accepted warehouse

This commit is contained in:
Rohit Waghchaure
2022-04-04 15:38:42 +05:30
parent 0a71cabab1
commit ac5df1abbe
2 changed files with 40 additions and 1 deletions

View File

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