mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 10:45:29 +00:00
fix: unhide zero val checkbox
(cherry picked from commit 20e0313a8c)
# Conflicts:
# erpnext/stock/doctype/stock_reconciliation_item/stock_reconciliation_item.json
This commit is contained in:
@@ -979,6 +979,7 @@ class StockReconciliation(StockController):
|
||||
is_customer_item = frappe.db.get_value("Item", d.item_code, "is_customer_provided_item")
|
||||
if is_customer_item and d.valuation_rate:
|
||||
d.valuation_rate = 0.0
|
||||
d.allow_zero_valuation_rate = 1
|
||||
changed_any_values = True
|
||||
|
||||
if changed_any_values:
|
||||
|
||||
@@ -185,12 +185,10 @@
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"depends_on": "allow_zero_valuation_rate",
|
||||
"fieldname": "allow_zero_valuation_rate",
|
||||
"fieldtype": "Check",
|
||||
"label": "Allow Zero Valuation Rate",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
"print_hide": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "barcode",
|
||||
@@ -256,7 +254,11 @@
|
||||
],
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
<<<<<<< HEAD
|
||||
"modified": "2025-03-12 16:34:51.326821",
|
||||
=======
|
||||
"modified": "2025-11-20 15:27:13.868179",
|
||||
>>>>>>> 20e0313a8c (fix: unhide zero val checkbox)
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Stock Reconciliation Item",
|
||||
|
||||
Reference in New Issue
Block a user