Merge pull request #39214 from nabinhait/item-quick-entry

fix: Show maintain-stock and is-fixed-asset checkbox in item quick entry dialog
This commit is contained in:
Nabin Hait 2024-01-08 21:35:55 +05:30 committed by GitHub
commit c2dde04aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,6 +202,7 @@
"label": "Allow Alternative Item" "label": "Allow Alternative Item"
}, },
{ {
"allow_in_quick_entry": 1,
"bold": 1, "bold": 1,
"default": "1", "default": "1",
"depends_on": "eval:!doc.is_fixed_asset", "depends_on": "eval:!doc.is_fixed_asset",
@ -239,6 +240,7 @@
"label": "Standard Selling Rate" "label": "Standard Selling Rate"
}, },
{ {
"allow_in_quick_entry": 1,
"default": "0", "default": "0",
"fieldname": "is_fixed_asset", "fieldname": "is_fixed_asset",
"fieldtype": "Check", "fieldtype": "Check",
@ -246,6 +248,7 @@
"set_only_once": 1 "set_only_once": 1
}, },
{ {
"allow_in_quick_entry": 1,
"depends_on": "is_fixed_asset", "depends_on": "is_fixed_asset",
"fieldname": "asset_category", "fieldname": "asset_category",
"fieldtype": "Link", "fieldtype": "Link",
@ -888,7 +891,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"make_attachments_public": 1, "make_attachments_public": 1,
"modified": "2023-09-18 15:41:32.688051", "modified": "2024-01-08 18:09:30.225085",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Item", "name": "Item",
@ -961,4 +964,4 @@
"states": [], "states": [],
"title_field": "item_name", "title_field": "item_name",
"track_changes": 1 "track_changes": 1
} }