mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
fix: Remove redundant variable declaration (#22641)
This commit is contained in:
@@ -121,7 +121,6 @@ class TransactionBase(StatusUpdater):
|
|||||||
|
|
||||||
def validate_rate_with_reference_doc(self, ref_details):
|
def validate_rate_with_reference_doc(self, ref_details):
|
||||||
buying_doctypes = ["Purchase Order", "Purchase Invoice", "Purchase Receipt"]
|
buying_doctypes = ["Purchase Order", "Purchase Invoice", "Purchase Receipt"]
|
||||||
selling_doctypes = ["Sales Invoice", "Delivery Note"]
|
|
||||||
|
|
||||||
if self.doctype in buying_doctypes:
|
if self.doctype in buying_doctypes:
|
||||||
to_disable = "Maintain same rate throughout Purchase cycle"
|
to_disable = "Maintain same rate throughout Purchase cycle"
|
||||||
|
|||||||
Reference in New Issue
Block a user