chore: whitespace/imports

This commit is contained in:
Ankush Menat
2021-09-13 10:31:00 +05:30
parent 75e108ab81
commit 71e4230ab0
6 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import frappe
from frappe import _
from frappe.model.document import Document
class PartyLink(Document):
def validate(self):
if self.primary_role not in ['Customer', 'Supplier']:

View File

@@ -4,5 +4,6 @@
# import frappe
import unittest
class TestPartyLink(unittest.TestCase):
pass

View File

@@ -4,8 +4,10 @@
from __future__ import unicode_literals
import frappe
from erpnext.accounts.utils import check_and_delete_linked_reports
def execute():
reports_to_delete = ["Requested Items To Be Ordered",
"Purchase Order Items To Be Received or Billed","Purchase Order Items To Be Received",

View File

@@ -4,8 +4,10 @@
from __future__ import unicode_literals
import frappe
from erpnext.accounts.utils import check_and_delete_linked_reports
def execute():
reports_to_delete = ["Ordered Items To Be Delivered", "Ordered Items To Be Billed"]

View File

@@ -1,5 +1,6 @@
import frappe
def execute():
frappe.reload_doc('manufacturing', 'doctype', 'bom')
frappe.reload_doc('manufacturing', 'doctype', 'bom_operation')

View File

@@ -9,6 +9,7 @@ import frappe
from frappe import _
from frappe.utils import formatdate, get_link_to_form
def execute(filters=None):
return VATAuditReport(filters).run()