Browse Source

chore: remove utf-8 compat code

develop
Ankush Menat 3 years ago
parent
commit
6098e92ba9
  1. 2
      erpnext/__init__.py
  2. 1
      erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py
  3. 1
      erpnext/accounts/deferred_revenue.py
  4. 1
      erpnext/accounts/doctype/__init__.py
  5. 1
      erpnext/accounts/doctype/account/__init__.py
  6. 1
      erpnext/accounts/doctype/account/account.py
  7. 1
      erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
  8. 1
      erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py
  9. 1
      erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts.py
  10. 1
      erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts_with_account_number.py
  11. 1
      erpnext/accounts/doctype/account/test_account.py
  12. 2
      erpnext/accounts/doctype/accounting_dimension/accounting_dimension.py
  13. 2
      erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py
  14. 2
      erpnext/accounts/doctype/accounting_dimension_detail/accounting_dimension_detail.py
  15. 2
      erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py
  16. 2
      erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py
  17. 2
      erpnext/accounts/doctype/accounting_period/accounting_period.py
  18. 2
      erpnext/accounts/doctype/accounting_period/test_accounting_period.py
  19. 1
      erpnext/accounts/doctype/accounts_settings/accounts_settings.py
  20. 1
      erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py
  21. 2
      erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.py
  22. 2
      erpnext/accounts/doctype/allowed_dimension/allowed_dimension.py
  23. 2
      erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py
  24. 2
      erpnext/accounts/doctype/applicable_on_account/applicable_on_account.py
  25. 2
      erpnext/accounts/doctype/bank/bank.py
  26. 1
      erpnext/accounts/doctype/bank/bank_dashboard.py
  27. 2
      erpnext/accounts/doctype/bank/test_bank.py
  28. 2
      erpnext/accounts/doctype/bank_account/bank_account.py
  29. 1
      erpnext/accounts/doctype/bank_account/bank_account_dashboard.py
  30. 2
      erpnext/accounts/doctype/bank_account/test_bank_account.py
  31. 2
      erpnext/accounts/doctype/bank_account_subtype/bank_account_subtype.py
  32. 2
      erpnext/accounts/doctype/bank_account_subtype/test_bank_account_subtype.py
  33. 2
      erpnext/accounts/doctype/bank_account_type/bank_account_type.py
  34. 2
      erpnext/accounts/doctype/bank_account_type/test_bank_account_type.py
  35. 1
      erpnext/accounts/doctype/bank_clearance/bank_clearance.py
  36. 2
      erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py
  37. 1
      erpnext/accounts/doctype/bank_clearance_detail/__init__.py
  38. 1
      erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.py
  39. 2
      erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
  40. 2
      erpnext/accounts/doctype/bank_guarantee/test_bank_guarantee.py
  41. 2
      erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py
  42. 2
      erpnext/accounts/doctype/bank_reconciliation_tool/test_bank_reconciliation_tool.py
  43. 2
      erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py
  44. 2
      erpnext/accounts/doctype/bank_statement_import/test_bank_statement_import.py
  45. 2
      erpnext/accounts/doctype/bank_transaction/bank_transaction.py
  46. 2
      erpnext/accounts/doctype/bank_transaction/bank_transaction_upload.py
  47. 2
      erpnext/accounts/doctype/bank_transaction/test_bank_transaction.py
  48. 2
      erpnext/accounts/doctype/bank_transaction_mapping/bank_transaction_mapping.py
  49. 2
      erpnext/accounts/doctype/bank_transaction_payments/bank_transaction_payments.py
  50. 2
      erpnext/accounts/doctype/budget/budget.py
  51. 2
      erpnext/accounts/doctype/budget/test_budget.py
  52. 2
      erpnext/accounts/doctype/budget_account/budget_account.py
  53. 1
      erpnext/accounts/doctype/c_form/__init__.py
  54. 1
      erpnext/accounts/doctype/c_form/c_form.py
  55. 2
      erpnext/accounts/doctype/c_form/test_c_form.py
  56. 1
      erpnext/accounts/doctype/c_form_invoice_detail/__init__.py
  57. 1
      erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py
  58. 2
      erpnext/accounts/doctype/cash_flow_mapper/cash_flow_mapper.py
  59. 1
      erpnext/accounts/doctype/cash_flow_mapper/default_cash_flow_mapper.py
  60. 2
      erpnext/accounts/doctype/cash_flow_mapper/test_cash_flow_mapper.py
  61. 2
      erpnext/accounts/doctype/cash_flow_mapping/cash_flow_mapping.py
  62. 2
      erpnext/accounts/doctype/cash_flow_mapping/test_cash_flow_mapping.py
  63. 2
      erpnext/accounts/doctype/cash_flow_mapping_accounts/cash_flow_mapping_accounts.py
  64. 2
      erpnext/accounts/doctype/cash_flow_mapping_template/cash_flow_mapping_template.py
  65. 2
      erpnext/accounts/doctype/cash_flow_mapping_template/test_cash_flow_mapping_template.py
  66. 2
      erpnext/accounts/doctype/cash_flow_mapping_template_details/cash_flow_mapping_template_details.py
  67. 2
      erpnext/accounts/doctype/cash_flow_mapping_template_details/test_cash_flow_mapping_template_details.py
  68. 2
      erpnext/accounts/doctype/cashier_closing/cashier_closing.py
  69. 2
      erpnext/accounts/doctype/cashier_closing/test_cashier_closing.py
  70. 2
      erpnext/accounts/doctype/cashier_closing_payments/cashier_closing_payments.py
  71. 2
      erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py
  72. 2
      erpnext/accounts/doctype/chart_of_accounts_importer/test_chart_of_accounts_importer.py
  73. 2
      erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py
  74. 2
      erpnext/accounts/doctype/cheque_print_template/test_cheque_print_template.py
  75. 2
      erpnext/accounts/doctype/closed_document/closed_document.py
  76. 1
      erpnext/accounts/doctype/cost_center/__init__.py
  77. 1
      erpnext/accounts/doctype/cost_center/cost_center.py
  78. 1
      erpnext/accounts/doctype/cost_center/cost_center_dashboard.py
  79. 1
      erpnext/accounts/doctype/cost_center/test_cost_center.py
  80. 2
      erpnext/accounts/doctype/coupon_code/coupon_code.py
  81. 2
      erpnext/accounts/doctype/coupon_code/test_coupon_code.py
  82. 2
      erpnext/accounts/doctype/discounted_invoice/discounted_invoice.py
  83. 2
      erpnext/accounts/doctype/distributed_cost_center/distributed_cost_center.py
  84. 2
      erpnext/accounts/doctype/dunning/dunning.py
  85. 1
      erpnext/accounts/doctype/dunning/dunning_dashboard.py
  86. 2
      erpnext/accounts/doctype/dunning/test_dunning.py
  87. 2
      erpnext/accounts/doctype/dunning_letter_text/dunning_letter_text.py
  88. 2
      erpnext/accounts/doctype/dunning_type/dunning_type.py
  89. 2
      erpnext/accounts/doctype/dunning_type/test_dunning_type.py
  90. 2
      erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.py
  91. 1
      erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation_dashboard.py
  92. 2
      erpnext/accounts/doctype/exchange_rate_revaluation/test_exchange_rate_revaluation.py
  93. 2
      erpnext/accounts/doctype/exchange_rate_revaluation_account/exchange_rate_revaluation_account.py
  94. 2
      erpnext/accounts/doctype/finance_book/finance_book.py
  95. 1
      erpnext/accounts/doctype/finance_book/finance_book_dashboard.py
  96. 2
      erpnext/accounts/doctype/finance_book/test_finance_book.py
  97. 1
      erpnext/accounts/doctype/fiscal_year/__init__.py
  98. 1
      erpnext/accounts/doctype/fiscal_year/fiscal_year.py
  99. 1
      erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py
  100. 1
      erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py

2
erpnext/__init__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import inspect import inspect

1
erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

1
erpnext/accounts/deferred_revenue.py

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

1
erpnext/accounts/doctype/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/account/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/account/account.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _, throw from frappe import _, throw

1
erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py

@ -1,6 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import json import json
import os import os

1
erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py

@ -4,7 +4,6 @@
""" """
Import chart of accounts from OpenERP sources Import chart of accounts from OpenERP sources
""" """
from __future__ import print_function, unicode_literals
import ast import ast
import json import json

1
erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts_with_account_number.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/account/test_account.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/accounting_dimension/accounting_dimension.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import json import json

2
erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/accounting_dimension_detail/accounting_dimension_detail.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright, (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright, (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _, scrub from frappe import _, scrub

2
erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/accounting_period/accounting_period.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/accounting_period/test_accounting_period.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

1
erpnext/accounts/doctype/accounts_settings/accounts_settings.py

@ -3,7 +3,6 @@
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py

@ -1,4 +1,3 @@
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/allowed_dimension/allowed_dimension.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/applicable_on_account/applicable_on_account.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/bank/bank.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.contacts.address_and_contact import ( from frappe.contacts.address_and_contact import (
delete_contact_and_address, delete_contact_and_address,

1
erpnext/accounts/doctype/bank/bank_dashboard.py

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

2
erpnext/accounts/doctype/bank/test_bank.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/bank_account/bank_account.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/bank_account/bank_account_dashboard.py

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

2
erpnext/accounts/doctype/bank_account/test_bank_account.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/bank_account_subtype/bank_account_subtype.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/bank_account_subtype/test_bank_account_subtype.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/bank_account_type/bank_account_type.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/bank_account_type/test_bank_account_type.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest

1
erpnext/accounts/doctype/bank_clearance/bank_clearance.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _, msgprint from frappe import _, msgprint

2
erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest

1
erpnext/accounts/doctype/bank_clearance_detail/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import json import json

2
erpnext/accounts/doctype/bank_guarantee/test_bank_guarantee.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import json import json

2
erpnext/accounts/doctype/bank_reconciliation_tool/test_bank_reconciliation_tool.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest

2
erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors # Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import csv import csv
import json import json

2
erpnext/accounts/doctype/bank_statement_import/test_bank_statement_import.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors # Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest

2
erpnext/accounts/doctype/bank_transaction/bank_transaction.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe.utils import flt from frappe.utils import flt

2
erpnext/accounts/doctype/bank_transaction/bank_transaction_upload.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import json import json

2
erpnext/accounts/doctype/bank_transaction/test_bank_transaction.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import json import json
import unittest import unittest

2
erpnext/accounts/doctype/bank_transaction_mapping/bank_transaction_mapping.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/bank_transaction_payments/bank_transaction_payments.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/budget/budget.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/budget/test_budget.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/budget_account/budget_account.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

1
erpnext/accounts/doctype/c_form/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/c_form/c_form.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/c_form/test_c_form.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

1
erpnext/accounts/doctype/c_form_invoice_detail/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/cash_flow_mapper/cash_flow_mapper.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

1
erpnext/accounts/doctype/cash_flow_mapper/default_cash_flow_mapper.py

@ -1,4 +1,3 @@
from __future__ import unicode_literals
DEFAULT_MAPPERS = [ DEFAULT_MAPPERS = [
{ {

2
erpnext/accounts/doctype/cash_flow_mapper/test_cash_flow_mapper.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cash_flow_mapping/cash_flow_mapping.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/cash_flow_mapping/test_cash_flow_mapping.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cash_flow_mapping_accounts/cash_flow_mapping_accounts.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/cash_flow_mapping_template/cash_flow_mapping_template.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/cash_flow_mapping_template/test_cash_flow_mapping_template.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cash_flow_mapping_template_details/cash_flow_mapping_template_details.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/cash_flow_mapping_template_details/test_cash_flow_mapping_template_details.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cashier_closing/cashier_closing.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/cashier_closing/test_cashier_closing.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cashier_closing_payments/cashier_closing_payments.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import csv import csv
import os import os

2
erpnext/accounts/doctype/chart_of_accounts_importer/test_chart_of_accounts_importer.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/cheque_print_template/test_cheque_print_template.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/closed_document/closed_document.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

1
erpnext/accounts/doctype/cost_center/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/cost_center/cost_center.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/cost_center/cost_center_dashboard.py

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

1
erpnext/accounts/doctype/cost_center/test_cost_center.py

@ -1,6 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/coupon_code/coupon_code.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

2
erpnext/accounts/doctype/coupon_code/test_coupon_code.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/discounted_invoice/discounted_invoice.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/distributed_cost_center/distributed_cost_center.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/dunning/dunning.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import json import json

1
erpnext/accounts/doctype/dunning/dunning_dashboard.py

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

2
erpnext/accounts/doctype/dunning/test_dunning.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/dunning_letter_text/dunning_letter_text.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/dunning_type/dunning_type.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/dunning_type/test_dunning_type.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest

2
erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _

1
erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation_dashboard.py

@ -1,4 +1,3 @@
from __future__ import unicode_literals
def get_data(): def get_data():

2
erpnext/accounts/doctype/exchange_rate_revaluation/test_exchange_rate_revaluation.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

2
erpnext/accounts/doctype/exchange_rate_revaluation_account/exchange_rate_revaluation_account.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

2
erpnext/accounts/doctype/finance_book/finance_book.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document from frappe.model.document import Document

1
erpnext/accounts/doctype/finance_book/finance_book_dashboard.py

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

2
erpnext/accounts/doctype/finance_book/test_finance_book.py

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt # See license.txt
from __future__ import unicode_literals
import unittest import unittest

1
erpnext/accounts/doctype/fiscal_year/__init__.py

@ -1 +0,0 @@
from __future__ import unicode_literals

1
erpnext/accounts/doctype/fiscal_year/fiscal_year.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe import frappe
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta

1
erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py

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

1
erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt # License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import unittest import unittest

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save