mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
[minor] [perms] Expense Claim Type
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
],
|
],
|
||||||
"icon": "icon-flag",
|
"icon": "icon-flag",
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"modified": "2015-02-05 05:11:38.794964",
|
"modified": "2015-04-19 06:47:51.860833",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "HR",
|
"module": "HR",
|
||||||
"name": "Expense Claim Type",
|
"name": "Expense Claim Type",
|
||||||
@@ -45,6 +45,19 @@
|
|||||||
"role": "HR Manager",
|
"role": "HR Manager",
|
||||||
"share": 1,
|
"share": 1,
|
||||||
"write": 1
|
"write": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"create": 0,
|
||||||
|
"delete": 0,
|
||||||
|
"email": 0,
|
||||||
|
"export": 0,
|
||||||
|
"permlevel": 0,
|
||||||
|
"print": 0,
|
||||||
|
"read": 1,
|
||||||
|
"report": 0,
|
||||||
|
"role": "All",
|
||||||
|
"share": 0,
|
||||||
|
"write": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors and Contributors
|
||||||
|
# See license.txt
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
import frappe
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
# test_records = frappe.get_test_records('Expense Claim Type')
|
||||||
|
|
||||||
|
class TestExpenseClaimType(unittest.TestCase):
|
||||||
|
pass
|
||||||
@@ -139,3 +139,4 @@ execute:frappe.delete_doc("DocType", "Style Settings")
|
|||||||
erpnext.patches.v5_0.update_opportunity
|
erpnext.patches.v5_0.update_opportunity
|
||||||
erpnext.patches.v5_0.opportunity_not_submittable
|
erpnext.patches.v5_0.opportunity_not_submittable
|
||||||
execute:frappe.permissions.reset_perms("Purchase Taxes and Charges Master") #2014-06-09
|
execute:frappe.permissions.reset_perms("Purchase Taxes and Charges Master") #2014-06-09
|
||||||
|
execute:frappe.permissions.reset_perms("Expense Claim Type") #2014-06-19
|
||||||
|
|||||||
Reference in New Issue
Block a user