mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: internal transfer flow
This commit is contained in:
@@ -71,6 +71,9 @@ class TransactionBase(StatusUpdater):
|
||||
self.validate_value(field, condition, prevdoc_values[field], doc)
|
||||
|
||||
def validate_rate_with_reference_doc(self, ref_details):
|
||||
if self.get("is_internal_supplier"):
|
||||
return
|
||||
|
||||
buying_doctypes = ["Purchase Order", "Purchase Invoice", "Purchase Receipt"]
|
||||
|
||||
if self.doctype in buying_doctypes:
|
||||
|
||||
Reference in New Issue
Block a user