[rename] Photo ID -> Identification Document

This commit is contained in:
Manas Solanki 2018-05-16 14:08:55 +05:30
parent d11b5d398d
commit 6eb7f346bd
7 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on('Photo ID Type', {
frappe.ui.form.on('Identification Document Type', {
refresh: function(frm) {
}

View File

@ -3,7 +3,7 @@
"allow_guest_to_view": 0,
"allow_import": 0,
"allow_rename": 0,
"autoname": "field:photo_id_type",
"autoname": "field:identification_document_type",
"beta": 0,
"creation": "2018-05-15 07:13:28.620570",
"custom": 0,
@ -19,7 +19,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "photo_id_type",
"fieldname": "identification_document_type",
"fieldtype": "Data",
"hidden": 0,
"ignore_user_permissions": 0,
@ -28,7 +28,7 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Photo ID Type",
"label": "Identification Document Type",
"length": 0,
"no_copy": 0,
"permlevel": 0,
@ -55,10 +55,10 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2018-05-15 07:13:43.616618",
"modified": "2018-05-16 04:34:00.448680",
"modified_by": "Administrator",
"module": "HR",
"name": "Photo ID Type",
"name": "Identification Document Type",
"name_case": "",
"owner": "Administrator",
"permissions": [

View File

@ -6,5 +6,5 @@ from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class PhotoIDType(Document):
class IdentificationDocumentType(Document):
pass

View File

@ -2,15 +2,15 @@
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit.test("test: Photo ID Type", function (assert) {
QUnit.test("test: Identification Document Type", function (assert) {
let done = assert.async();
// number of asserts
assert.expect(1);
frappe.run_serially([
// insert a new Photo ID Type
() => frappe.tests.make('Photo ID Type', [
// insert a new Identification Document Type
() => frappe.tests.make('Identification Document Type', [
// values to be set
{key: 'value'}
]),

View File

@ -6,5 +6,5 @@ from __future__ import unicode_literals
import frappe
import unittest
class TestPhotoIDType(unittest.TestCase):
class TestIdentificationDocumentType(unittest.TestCase):
pass

View File

@ -490,7 +490,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "photo_id_type",
"fieldname": "personal_id_type",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
@ -499,10 +499,10 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Photo ID Type",
"label": "Identification Document Type",
"length": 0,
"no_copy": 0,
"options": "Photo ID Type",
"options": "Identification Document Type",
"permlevel": 0,
"precision": "",
"print_hide": 0,
@ -522,7 +522,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "photo_id_number",
"fieldname": "personal_id_number",
"fieldtype": "Data",
"hidden": 0,
"ignore_user_permissions": 0,
@ -531,7 +531,7 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Photo ID Number",
"label": "Identification Document Number",
"length": 0,
"no_copy": 0,
"permlevel": 0,
@ -871,7 +871,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2018-05-15 10:47:54.215916",
"modified": "2018-05-16 04:35:56.819570",
"modified_by": "Administrator",
"module": "HR",
"name": "Travel Request",