mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 22:06:52 +00:00
Co-authored-by: Patrick Eißler <77415730+PatrickDEissler@users.noreply.github.com> Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
This commit is contained in:
@@ -23,6 +23,7 @@ def get_columns():
|
|||||||
"""return columns"""
|
"""return columns"""
|
||||||
columns = [
|
columns = [
|
||||||
_("Item") + ":Link/Item:150",
|
_("Item") + ":Link/Item:150",
|
||||||
|
_("Item Name") + "::240",
|
||||||
_("Description") + "::300",
|
_("Description") + "::300",
|
||||||
_("BOM Qty") + ":Float:160",
|
_("BOM Qty") + ":Float:160",
|
||||||
_("BOM UoM") + "::160",
|
_("BOM UoM") + "::160",
|
||||||
@@ -73,6 +74,7 @@ def get_bom_stock(filters):
|
|||||||
.on((BOM_ITEM.item_code == BIN.item_code) & (CONDITIONS))
|
.on((BOM_ITEM.item_code == BIN.item_code) & (CONDITIONS))
|
||||||
.select(
|
.select(
|
||||||
BOM_ITEM.item_code,
|
BOM_ITEM.item_code,
|
||||||
|
BOM_ITEM.item_name,
|
||||||
BOM_ITEM.description,
|
BOM_ITEM.description,
|
||||||
BOM_ITEM.stock_qty,
|
BOM_ITEM.stock_qty,
|
||||||
BOM_ITEM.stock_uom,
|
BOM_ITEM.stock_uom,
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ def get_expected_data(bom, warehouse, qty_to_produce, show_exploded_view=False):
|
|||||||
expected_data.append(
|
expected_data.append(
|
||||||
[
|
[
|
||||||
item.item_code,
|
item.item_code,
|
||||||
|
item.item_name,
|
||||||
item.description,
|
item.description,
|
||||||
item.stock_qty,
|
item.stock_qty,
|
||||||
item.stock_uom,
|
item.stock_uom,
|
||||||
|
|||||||
Reference in New Issue
Block a user