fix(ux): make PI rate field read-only having PR ref

This commit is contained in:
s-aga-r 2023-11-30 16:28:03 +05:30
parent ae294ee470
commit 3d4156cc7d

View File

@ -288,6 +288,7 @@
"oldfieldname": "import_rate", "oldfieldname": "import_rate",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
"options": "currency", "options": "currency",
"read_only_depends_on": "eval: (!parent.is_return && doc.purchase_receipt && doc.pr_detail)",
"reqd": 1 "reqd": 1
}, },
{ {
@ -918,7 +919,7 @@
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2023-11-14 18:33:48.547297", "modified": "2023-11-30 16:26:05.629780",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice Item", "name": "Purchase Invoice Item",