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