mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
code alignment
This commit is contained in:
@@ -38,7 +38,7 @@ class PurchaseOrder(BuyingController):
|
|||||||
super(PurchaseOrder, self).onload()
|
super(PurchaseOrder, self).onload()
|
||||||
|
|
||||||
self.set_onload('disable_fetch_last_purchase_rate',
|
self.set_onload('disable_fetch_last_purchase_rate',
|
||||||
cint(frappe.db.get_single_value("Buying Settings", "disable_fetch_last_purchase_rate")))
|
cint(frappe.db.get_single_value("Buying Settings", "disable_fetch_last_purchase_rate")))
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
super(PurchaseOrder, self).validate()
|
super(PurchaseOrder, self).validate()
|
||||||
|
|||||||
Reference in New Issue
Block a user