mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
fix: ignore rate validation for work order
(cherry picked from commit f29aed7f71)
This commit is contained in:
committed by
Ankush Menat
parent
5e32b809cb
commit
3969840ee8
@@ -1115,7 +1115,7 @@ class StockEntry(StockController):
|
|||||||
self.set_actual_qty()
|
self.set_actual_qty()
|
||||||
self.update_items_for_process_loss()
|
self.update_items_for_process_loss()
|
||||||
self.validate_customer_provided_item()
|
self.validate_customer_provided_item()
|
||||||
self.calculate_rate_and_amount()
|
self.calculate_rate_and_amount(raise_error_if_no_rate=False)
|
||||||
|
|
||||||
def set_scrap_items(self):
|
def set_scrap_items(self):
|
||||||
if self.purpose != "Send to Subcontractor" and self.purpose in ["Manufacture", "Repack"]:
|
if self.purpose != "Send to Subcontractor" and self.purpose in ["Manufacture", "Repack"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user