chore: remove all six compat code

This commit is contained in:
Ankush Menat
2021-11-04 19:48:32 +05:30
parent 56a25a0c4f
commit 8fe5feb6a4
420 changed files with 179 additions and 678 deletions

View File

@@ -1,4 +1,3 @@
from frappe import _

View File

@@ -12,7 +12,6 @@ from frappe.model.mapper import get_mapped_doc
from frappe.utils import get_url
from frappe.utils.print_format import download_pdf
from frappe.utils.user import get_user_fullname
from six import string_types
from erpnext.accounts.party import get_party_account_currency, get_party_details
from erpnext.buying.utils import validate_for_items
@@ -288,7 +287,7 @@ def make_supplier_quotation_from_rfq(source_name, target_doc=None, for_supplier=
# This method is used to make supplier quotation from supplier's portal.
@frappe.whitelist()
def create_supplier_quotation(doc):
if isinstance(doc, string_types):
if isinstance(doc, str):
doc = json.loads(doc)
try:

View File

@@ -1,5 +1,3 @@
def get_data():
return {
'docstatus': 1,

View File

@@ -1,4 +1,3 @@
from frappe import _

View File

@@ -1,4 +1,3 @@
from frappe import _

View File

@@ -1,4 +1,3 @@
from frappe import _