mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 23:12:13 +00:00
* fix(Inventory Dimension): reduce perms for Stock User (#42226)
(cherry picked from commit edc1f84250)
# Conflicts:
# erpnext/stock/doctype/inventory_dimension/inventory_dimension.json
* chore: fix conflicts
---------
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -189,7 +189,7 @@
|
|||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-10-05 12:52:18.705431",
|
"modified": "2024-07-08 08:58:50.228211",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Inventory Dimension",
|
"name": "Inventory Dimension",
|
||||||
@@ -221,16 +221,8 @@
|
|||||||
"write": 1
|
"write": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"create": 1,
|
|
||||||
"delete": 1,
|
|
||||||
"email": 1,
|
|
||||||
"export": 1,
|
|
||||||
"print": 1,
|
|
||||||
"read": 1,
|
"read": 1,
|
||||||
"report": 1,
|
"role": "Stock User"
|
||||||
"role": "Stock User",
|
|
||||||
"share": 1,
|
|
||||||
"write": 1
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class InventoryDimension(Document):
|
|||||||
dimension_name: DF.Data
|
dimension_name: DF.Data
|
||||||
disabled: DF.Check
|
disabled: DF.Check
|
||||||
document_type: DF.Link | None
|
document_type: DF.Link | None
|
||||||
fetch_from_parent: DF.Literal
|
fetch_from_parent: DF.Literal[None]
|
||||||
istable: DF.Check
|
istable: DF.Check
|
||||||
mandatory_depends_on: DF.SmallText | None
|
mandatory_depends_on: DF.SmallText | None
|
||||||
reference_document: DF.Link
|
reference_document: DF.Link
|
||||||
|
|||||||
Reference in New Issue
Block a user