mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
fix(Inventory Dimension): reduce perms for Stock User (#42226)
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2024-03-27 13:09:52.561725",
|
||||
"modified": "2024-07-08 08:58:50.228211",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Inventory Dimension",
|
||||
@@ -221,16 +221,8 @@
|
||||
"write": 1
|
||||
},
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "Stock User",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
"role": "Stock User"
|
||||
}
|
||||
],
|
||||
"sort_field": "creation",
|
||||
|
||||
@@ -33,7 +33,7 @@ class InventoryDimension(Document):
|
||||
dimension_name: DF.Data
|
||||
disabled: DF.Check
|
||||
document_type: DF.Link | None
|
||||
fetch_from_parent: DF.Literal
|
||||
fetch_from_parent: DF.Literal[None]
|
||||
istable: DF.Check
|
||||
mandatory_depends_on: DF.SmallText | None
|
||||
reference_document: DF.Link
|
||||
|
||||
Reference in New Issue
Block a user