mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
fix: this.frm.events.update_cost is not a function (#41960)
This commit is contained in:
@@ -302,7 +302,6 @@ erpnext.bom.BomConfigurator = class BomConfigurator extends erpnext.TransactionC
|
|||||||
item.stock_qty = flt(item.qty * item.conversion_factor, precision("stock_qty", item));
|
item.stock_qty = flt(item.qty * item.conversion_factor, precision("stock_qty", item));
|
||||||
refresh_field("stock_qty", item.name, item.parentfield);
|
refresh_field("stock_qty", item.name, item.parentfield);
|
||||||
this.toggle_conversion_factor(item);
|
this.toggle_conversion_factor(item);
|
||||||
this.frm.events.update_cost(this.frm);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
"column_break_3",
|
"column_break_3",
|
||||||
"production_capacity",
|
"production_capacity",
|
||||||
"warehouse",
|
"warehouse",
|
||||||
"production_capacity_section",
|
|
||||||
"parts_per_hour",
|
|
||||||
"workstation_status_tab",
|
"workstation_status_tab",
|
||||||
"status",
|
"status",
|
||||||
"column_break_glcv",
|
"column_break_glcv",
|
||||||
@@ -211,16 +209,6 @@
|
|||||||
"label": "Warehouse",
|
"label": "Warehouse",
|
||||||
"options": "Warehouse"
|
"options": "Warehouse"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"fieldname": "production_capacity_section",
|
|
||||||
"fieldtype": "Section Break",
|
|
||||||
"label": "Production Capacity"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "parts_per_hour",
|
|
||||||
"fieldtype": "Float",
|
|
||||||
"label": "Parts Per Hour"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"fieldname": "total_working_hours",
|
"fieldname": "total_working_hours",
|
||||||
"fieldtype": "Float",
|
"fieldtype": "Float",
|
||||||
@@ -258,7 +246,7 @@
|
|||||||
"idx": 1,
|
"idx": 1,
|
||||||
"image_field": "on_status_image",
|
"image_field": "on_status_image",
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-06-01 14:48:47.341354",
|
"modified": "2024-06-20 14:17:13.806609",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "Workstation",
|
"name": "Workstation",
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ class Workstation(Document):
|
|||||||
hour_rate_rent: DF.Currency
|
hour_rate_rent: DF.Currency
|
||||||
off_status_image: DF.AttachImage | None
|
off_status_image: DF.AttachImage | None
|
||||||
on_status_image: DF.AttachImage | None
|
on_status_image: DF.AttachImage | None
|
||||||
parts_per_hour: DF.Float
|
|
||||||
plant_floor: DF.Link | None
|
plant_floor: DF.Link | None
|
||||||
production_capacity: DF.Int
|
production_capacity: DF.Int
|
||||||
status: DF.Literal["Production", "Off", "Idle", "Problem", "Maintenance", "Setup"]
|
status: DF.Literal["Production", "Off", "Idle", "Problem", "Maintenance", "Setup"]
|
||||||
|
|||||||
Reference in New Issue
Block a user