mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
chore: Change BOM Progress field types to Long Text
This commit is contained in:
@@ -692,7 +692,7 @@ class BOM(WebsiteGenerator):
|
|||||||
row.amount = flt(row.stock_qty) * row.rate
|
row.amount = flt(row.stock_qty) * row.rate
|
||||||
|
|
||||||
if old_rate != row.rate:
|
if old_rate != row.rate:
|
||||||
# Only db_update if unchanged
|
# Only db_update if changed
|
||||||
row.db_update()
|
row.db_update()
|
||||||
|
|
||||||
def get_rm_rate_map(self) -> Dict[str, float]:
|
def get_rm_rate_map(self) -> Dict[str, float]:
|
||||||
|
|||||||
@@ -76,18 +76,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "current_boms",
|
"fieldname": "current_boms",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Long Text",
|
||||||
"label": "Current BOMs"
|
"label": "Current BOMs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Immediate parent BOMs",
|
"description": "Immediate parent BOMs",
|
||||||
"fieldname": "parent_boms",
|
"fieldname": "parent_boms",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Long Text",
|
||||||
"label": "Parent BOMs"
|
"label": "Parent BOMs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "processed_boms",
|
"fieldname": "processed_boms",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Long Text",
|
||||||
"label": "Processed BOMs"
|
"label": "Processed BOMs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2022-05-24 17:52:21.824710",
|
"modified": "2022-05-27 17:03:34.712010",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "BOM Update Log",
|
"name": "BOM Update Log",
|
||||||
|
|||||||
Reference in New Issue
Block a user