Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions posnext/fixtures/custom_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -2855,6 +2855,62 @@
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Sales Invoice Item",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "custom_bundle_id",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "actual_batch_qty",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Bundle ID",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2025-05-03 14:53:55.147690",
"module": "Posnext",
"name": "Sales Invoice Item-custom_bundle_id",
"no_copy": 0,
"non_negative": 0,
"options": "Product Bundle",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
Expand Down
3 changes: 2 additions & 1 deletion posnext/public/js/pos_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,8 @@ posnext.PointOfSale.Controller = class {
item_code: bundle_item.item_code,
qty: bundle_item.qty * value,
rate: bundle_item.rate,
uom: bundle_item.uom
uom: bundle_item.uom,
custom_bundle_id: product_bundle.name
}));

for (const bundle_item of bundle_items) {
Expand Down
Loading