Skip to content

Commit

Permalink
chore: whitespace/imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Sep 13, 2021
1 parent 75e108a commit 71e4230
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/accounts/doctype/party_link/party_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from frappe import _
from frappe.model.document import Document


class PartyLink(Document):
def validate(self):
if self.primary_role not in ['Customer', 'Supplier']:
Expand Down
1 change: 1 addition & 0 deletions erpnext/accounts/doctype/party_link/test_party_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
# import frappe
import unittest


class TestPartyLink(unittest.TestCase):
pass
2 changes: 2 additions & 0 deletions erpnext/patches/v13_0/delete_old_purchase_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions erpnext/patches/v13_0/delete_old_sales_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import frappe


def execute():
frappe.reload_doc('manufacturing', 'doctype', 'bom')
frappe.reload_doc('manufacturing', 'doctype', 'bom_operation')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from frappe import _
from frappe.utils import formatdate, get_link_to_form


def execute(filters=None):
return VATAuditReport(filters).run()

Expand Down

0 comments on commit 71e4230

Please sign in to comment.