fix: library import formatting
This commit is contained in:
parent
52fd804aed
commit
ebb7bc201b
@ -5,8 +5,8 @@
|
||||
|
||||
|
||||
import frappe
|
||||
from frappe.model.document import Document
|
||||
from frappe.custom.doctype.property_setter.property_setter import make_property_setter
|
||||
from frappe.model.document import Document
|
||||
from frappe.utils import cint
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ class BuyingSettings(Document):
|
||||
self.get("supp_master_name") == "Naming Series",
|
||||
hide_name_field=False,
|
||||
)
|
||||
|
||||
|
||||
def toggle_discount_accounting_fields(self):
|
||||
enable_discount_accounting = cint(self.enable_discount_accounting)
|
||||
|
||||
@ -82,4 +82,4 @@ class BuyingSettings(Document):
|
||||
"",
|
||||
"Code",
|
||||
validate_fields_for_doctype=False,
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user