浏览代码

chore: Update header: license.txt => LICENSE

The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
version-14
Gavin D'souza 3 年前
父节点
当前提交
3446026555
共有 100 个文件被更改,包括 100 次插入100 次删除
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/api.py
  3. +1
    -1
      frappe/app.py
  4. +1
    -1
      frappe/automation/doctype/assignment_rule/assignment_rule.py
  5. +1
    -1
      frappe/automation/doctype/assignment_rule/test_assignment_rule.py
  6. +1
    -1
      frappe/automation/doctype/assignment_rule_day/assignment_rule_day.py
  7. +1
    -1
      frappe/automation/doctype/assignment_rule_user/assignment_rule_user.py
  8. +1
    -1
      frappe/automation/doctype/auto_repeat/auto_repeat.py
  9. +1
    -1
      frappe/automation/doctype/auto_repeat/test_auto_repeat.py
  10. +1
    -1
      frappe/automation/doctype/auto_repeat_day/auto_repeat_day.py
  11. +1
    -1
      frappe/automation/doctype/milestone/milestone.py
  12. +1
    -1
      frappe/automation/doctype/milestone/test_milestone.py
  13. +1
    -1
      frappe/automation/doctype/milestone_tracker/milestone_tracker.py
  14. +1
    -1
      frappe/automation/doctype/milestone_tracker/test_milestone_tracker.py
  15. +1
    -1
      frappe/boot.py
  16. +1
    -1
      frappe/build.py
  17. +1
    -1
      frappe/cache_manager.py
  18. +1
    -1
      frappe/chat/doctype/chat_token/chat_token.py
  19. +1
    -1
      frappe/client.py
  20. +1
    -1
      frappe/commands/__init__.py
  21. +1
    -1
      frappe/contacts/doctype/address/address.py
  22. +1
    -1
      frappe/contacts/doctype/address/test_address.py
  23. +1
    -1
      frappe/contacts/doctype/address_template/address_template.py
  24. +1
    -1
      frappe/contacts/doctype/address_template/test_address_template.py
  25. +1
    -1
      frappe/contacts/doctype/contact/test_contact.py
  26. +1
    -1
      frappe/contacts/doctype/contact_email/contact_email.py
  27. +1
    -1
      frappe/contacts/doctype/contact_phone/contact_phone.py
  28. +1
    -1
      frappe/contacts/doctype/gender/gender.py
  29. +1
    -1
      frappe/contacts/doctype/gender/test_gender.py
  30. +1
    -1
      frappe/contacts/doctype/salutation/salutation.py
  31. +1
    -1
      frappe/contacts/doctype/salutation/test_salutation.py
  32. +1
    -1
      frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py
  33. +1
    -1
      frappe/core/__init__.py
  34. +1
    -1
      frappe/core/doctype/__init__.py
  35. +1
    -1
      frappe/core/doctype/access_log/access_log.py
  36. +1
    -1
      frappe/core/doctype/access_log/test_access_log.py
  37. +1
    -1
      frappe/core/doctype/activity_log/activity_log.py
  38. +1
    -1
      frappe/core/doctype/activity_log/feed.py
  39. +1
    -1
      frappe/core/doctype/activity_log/test_activity_log.py
  40. +1
    -1
      frappe/core/doctype/block_module/block_module.py
  41. +1
    -1
      frappe/core/doctype/comment/comment.py
  42. +1
    -1
      frappe/core/doctype/comment/test_comment.py
  43. +1
    -1
      frappe/core/doctype/communication/__init__.py
  44. +1
    -1
      frappe/core/doctype/communication/communication.py
  45. +1
    -1
      frappe/core/doctype/communication/email.py
  46. +1
    -1
      frappe/core/doctype/communication/test_communication.py
  47. +1
    -1
      frappe/core/doctype/communication_link/communication_link.py
  48. +1
    -1
      frappe/core/doctype/custom_docperm/custom_docperm.py
  49. +1
    -1
      frappe/core/doctype/custom_docperm/test_custom_docperm.py
  50. +1
    -1
      frappe/core/doctype/custom_role/custom_role.py
  51. +1
    -1
      frappe/core/doctype/custom_role/test_custom_role.py
  52. +1
    -1
      frappe/core/doctype/data_export/data_export.py
  53. +1
    -1
      frappe/core/doctype/data_export/exporter.py
  54. +1
    -1
      frappe/core/doctype/data_import/data_import.py
  55. +1
    -1
      frappe/core/doctype/data_import/exporter.py
  56. +1
    -1
      frappe/core/doctype/data_import/importer.py
  57. +1
    -1
      frappe/core/doctype/data_import/test_data_import.py
  58. +1
    -1
      frappe/core/doctype/data_import/test_exporter.py
  59. +1
    -1
      frappe/core/doctype/data_import/test_importer.py
  60. +1
    -1
      frappe/core/doctype/defaultvalue/__init__.py
  61. +1
    -1
      frappe/core/doctype/defaultvalue/defaultvalue.py
  62. +1
    -1
      frappe/core/doctype/deleted_document/deleted_document.py
  63. +1
    -1
      frappe/core/doctype/deleted_document/test_deleted_document.py
  64. +1
    -1
      frappe/core/doctype/docfield/__init__.py
  65. +1
    -1
      frappe/core/doctype/docfield/docfield.py
  66. +1
    -1
      frappe/core/doctype/docperm/__init__.py
  67. +1
    -1
      frappe/core/doctype/docperm/docperm.py
  68. +1
    -1
      frappe/core/doctype/docshare/docshare.py
  69. +1
    -1
      frappe/core/doctype/docshare/test_docshare.py
  70. +1
    -1
      frappe/core/doctype/doctype/__init__.py
  71. +1
    -1
      frappe/core/doctype/doctype/doctype.py
  72. +1
    -1
      frappe/core/doctype/doctype/test_doctype.py
  73. +1
    -1
      frappe/core/doctype/doctype_action/doctype_action.py
  74. +1
    -1
      frappe/core/doctype/doctype_link/doctype_link.py
  75. +1
    -1
      frappe/core/doctype/document_naming_rule/document_naming_rule.py
  76. +1
    -1
      frappe/core/doctype/document_naming_rule/test_document_naming_rule.py
  77. +1
    -1
      frappe/core/doctype/document_naming_rule_condition/document_naming_rule_condition.py
  78. +1
    -1
      frappe/core/doctype/document_naming_rule_condition/test_document_naming_rule_condition.py
  79. +1
    -1
      frappe/core/doctype/domain/domain.py
  80. +1
    -1
      frappe/core/doctype/domain/test_domain.py
  81. +1
    -1
      frappe/core/doctype/domain_settings/domain_settings.py
  82. +1
    -1
      frappe/core/doctype/dynamic_link/dynamic_link.py
  83. +1
    -1
      frappe/core/doctype/error_log/error_log.py
  84. +1
    -1
      frappe/core/doctype/error_log/test_error_log.py
  85. +1
    -1
      frappe/core/doctype/error_snapshot/error_snapshot.py
  86. +1
    -1
      frappe/core/doctype/error_snapshot/test_error_snapshot.py
  87. +1
    -1
      frappe/core/doctype/feedback/feedback.py
  88. +1
    -1
      frappe/core/doctype/feedback/test_feedback.py
  89. +1
    -1
      frappe/core/doctype/file/file.py
  90. +1
    -1
      frappe/core/doctype/file/test_file.py
  91. +1
    -1
      frappe/core/doctype/has_domain/has_domain.py
  92. +1
    -1
      frappe/core/doctype/has_role/has_role.py
  93. +1
    -1
      frappe/core/doctype/installed_application/installed_application.py
  94. +1
    -1
      frappe/core/doctype/installed_applications/installed_applications.py
  95. +1
    -1
      frappe/core/doctype/installed_applications/test_installed_applications.py
  96. +1
    -1
      frappe/core/doctype/language/language.py
  97. +1
    -1
      frappe/core/doctype/language/test_language.py
  98. +1
    -1
      frappe/core/doctype/log_setting_user/log_setting_user.py
  99. +1
    -1
      frappe/core/doctype/log_setting_user/test_log_setting_user.py
  100. +1
    -1
      frappe/core/doctype/log_settings/log_settings.py

+ 1
- 1
frappe/__init__.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE
"""
Frappe - Low Code Open Source Framework in Python and JS



+ 1
- 1
frappe/api.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE
import base64
import binascii
import json


+ 1
- 1
frappe/app.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import os
import logging


+ 1
- 1
frappe/automation/doctype/assignment_rule/assignment_rule.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/assignment_rule/test_assignment_rule.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest
from frappe.utils import random_string


+ 1
- 1
frappe/automation/doctype/assignment_rule_day/assignment_rule_day.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/assignment_rule_user/assignment_rule_user.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/auto_repeat/auto_repeat.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe import _


+ 1
- 1
frappe/automation/doctype/auto_repeat/test_auto_repeat.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest

import frappe


+ 1
- 1
frappe/automation/doctype/auto_repeat_day/auto_repeat_day.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/milestone/milestone.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/milestone/test_milestone.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
#import frappe
import unittest



+ 1
- 1
frappe/automation/doctype/milestone_tracker/milestone_tracker.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/automation/doctype/milestone_tracker/test_milestone_tracker.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import frappe.cache_manager
import unittest


+ 1
- 1
frappe/boot.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE
"""
bootstrap client session
"""


+ 1
- 1
frappe/build.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE
import os
import re
import json


+ 1
- 1
frappe/cache_manager.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe, json
from frappe.model.document import Document


+ 1
- 1
frappe/chat/doctype/chat_token/chat_token.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/client.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE
import frappe
from frappe import _
import frappe.model


+ 1
- 1
frappe/commands/__init__.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Web Notes Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import sys
import click


+ 1
- 1
frappe/contacts/doctype/address/address.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe



+ 1
- 1
frappe/contacts/doctype/address/test_address.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe, unittest
from frappe.contacts.doctype.address.address import get_address_display



+ 1
- 1
frappe/contacts/doctype/address_template/address_template.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/contacts/doctype/address_template/test_address_template.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe, unittest

class TestAddressTemplate(unittest.TestCase):


+ 1
- 1
frappe/contacts/doctype/contact/test_contact.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/contacts/doctype/contact_email/contact_email.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/contacts/doctype/contact_phone/contact_phone.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/contacts/doctype/gender/gender.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

from frappe.model.document import Document



+ 1
- 1
frappe/contacts/doctype/gender/test_gender.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest

class TestGender(unittest.TestCase):


+ 1
- 1
frappe/contacts/doctype/salutation/salutation.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

from frappe.model.document import Document



+ 1
- 1
frappe/contacts/doctype/salutation/test_salutation.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest

class TestSalutation(unittest.TestCase):


+ 1
- 1
frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE
import frappe
from frappe import _



+ 1
- 1
frappe/core/__init__.py 查看文件

@@ -1,2 +1,2 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

+ 1
- 1
frappe/core/doctype/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/access_log/access_log.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE
import frappe
from frappe.model.document import Document



+ 1
- 1
frappe/core/doctype/access_log/test_access_log.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE

# imports - standard imports
import unittest


+ 1
- 1
frappe/core/doctype/activity_log/activity_log.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

from frappe import _
from frappe.utils import get_fullname, now


+ 1
- 1
frappe/core/doctype/activity_log/feed.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: See license.txt
# License: MIT. See LICENSE

import frappe
import frappe.permissions


+ 1
- 1
frappe/core/doctype/activity_log/test_activity_log.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest
import time


+ 1
- 1
frappe/core/doctype/block_module/block_module.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/comment/comment.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE
import frappe
from frappe import _
import json


+ 1
- 1
frappe/core/doctype/comment/test_comment.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe, json
import unittest



+ 1
- 1
frappe/core/doctype/communication/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/communication/communication.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

from collections import Counter
import frappe


+ 1
- 1
frappe/core/doctype/communication/email.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe
import json


+ 1
- 1
frappe/core/doctype/communication/test_communication.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest
from urllib.parse import quote



+ 1
- 1
frappe/core/doctype/communication_link/communication_link.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/custom_docperm/custom_docperm.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/custom_docperm/test_custom_docperm.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/custom_role/custom_role.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/custom_role/test_custom_role.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/data_export/data_export.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

from frappe.model.document import Document



+ 1
- 1
frappe/core/doctype/data_export/exporter.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe
from frappe import _


+ 1
- 1
frappe/core/doctype/data_import/data_import.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import os



+ 1
- 1
frappe/core/doctype/data_import/exporter.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import typing



+ 1
- 1
frappe/core/doctype/data_import/importer.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import os
import io


+ 1
- 1
frappe/core/doctype/data_import/test_data_import.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
# import frappe
import unittest



+ 1
- 1
frappe/core/doctype/data_import/test_exporter.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest
import frappe
from frappe.core.doctype.data_import.exporter import Exporter


+ 1
- 1
frappe/core/doctype/data_import/test_importer.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import unittest
import frappe
from frappe.core.doctype.data_import.importer import Importer


+ 1
- 1
frappe/core/doctype/defaultvalue/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/defaultvalue/defaultvalue.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe



+ 1
- 1
frappe/core/doctype/deleted_document/deleted_document.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
import json


+ 1
- 1
frappe/core/doctype/deleted_document/test_deleted_document.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/docfield/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/docfield/docfield.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/docperm/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/docperm/docperm.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

import frappe



+ 1
- 1
frappe/core/doctype/docshare/docshare.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/docshare/test_docshare.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# License: MIT. See LICENSE

import frappe
import frappe.share


+ 1
- 1
frappe/core/doctype/doctype/__init__.py 查看文件

@@ -1,3 +1,3 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE


+ 1
- 1
frappe/core/doctype/doctype/doctype.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

# imports - standard imports
import re, copy, os, shutil


+ 1
- 1
frappe/core/doctype/doctype/test_doctype.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest
from frappe.core.doctype.doctype.doctype import (UniqueFieldnameError,


+ 1
- 1
frappe/core/doctype/doctype_action/doctype_action.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/doctype_link/doctype_link.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/document_naming_rule/document_naming_rule.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/document_naming_rule/test_document_naming_rule.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/document_naming_rule_condition/document_naming_rule_condition.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/document_naming_rule_condition/test_document_naming_rule_condition.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
# import frappe
import unittest



+ 1
- 1
frappe/core/doctype/domain/domain.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe



+ 1
- 1
frappe/core/doctype/domain/test_domain.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/domain_settings/domain_settings.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/dynamic_link/dynamic_link.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/error_log/error_log.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/error_log/test_error_log.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/error_snapshot/error_snapshot.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/error_snapshot/test_error_snapshot.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/feedback/feedback.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2021, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/feedback/test_feedback.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2021, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE

import frappe
import unittest


+ 1
- 1
frappe/core/doctype/file/file.py 查看文件

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
# License: MIT. See LICENSE

"""
record of files


+ 1
- 1
frappe/core/doctype/file/test_file.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# License: MIT. See LICENSE
import base64
import json
import frappe


+ 1
- 1
frappe/core/doctype/has_domain/has_domain.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/has_role/has_role.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/installed_application/installed_application.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/installed_applications/installed_applications.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/installed_applications/test_installed_applications.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
# import frappe
import unittest



+ 1
- 1
frappe/core/doctype/language/language.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe, json, re
from frappe import _


+ 1
- 1
frappe/core/doctype/language/test_language.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
import frappe
import unittest



+ 1
- 1
frappe/core/doctype/log_setting_user/log_setting_user.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

# import frappe
from frappe.model.document import Document


+ 1
- 1
frappe/core/doctype/log_setting_user/test_log_setting_user.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and Contributors
# See license.txt
# License: MIT. See LICENSE
# import frappe
import unittest



+ 1
- 1
frappe/core/doctype/log_settings/log_settings.py 查看文件

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
# License: MIT. See LICENSE

import frappe
from frappe import _


部分文件因为文件数量过多而无法显示

正在加载...
取消
保存