fix: validation error has not throw for the batch (#38494)

* fix: validation error has not throw for the batch

* chore: fix test cases
This commit is contained in:
rohitwaghchaure
2023-12-01 21:42:22 +05:30
committed by GitHub
parent 6bc40373f2
commit 5e9016ffab
9 changed files with 50 additions and 5 deletions

View File

@@ -444,6 +444,7 @@ class SellingController(StockController):
"company": self.company,
"voucher_type": self.doctype,
"voucher_no": self.name,
"voucher_detail_no": d.name,
"allow_zero_valuation": d.get("allow_zero_valuation"),
},
raise_error_if_no_rate=False,