rerun of sales_order_ui.inc has a bug. @Braath Waate and @kvvaradha.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 13 Apr 2019 07:52:25 +0000 (09:52 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 13 Apr 2019 07:52:25 +0000 (09:52 +0200)
sales/includes/ui/sales_order_ui.inc

index d4ce8ff02baca9d15399d1303554a92903ea9a99..0cdd480ccc9d6754876029c001b20e82e3fcd288 100644 (file)
@@ -502,7 +502,7 @@ function sales_order_item_controls(&$order, &$rowcounter, $line_no=-1)
                if ($order->fixed_asset)
                        stock_disposable_fa_list_cells(null,'stock_id', null, _('[Select item]'), true, $order->line_items);
                else
-                       sales_items_list_cells(null,'stock_id', null, false, true, true);
+                       sales_items_list_cells(null,'stock_id', last_sales_order_detail($order, 'stk_code'), false, true, true);
                if (list_updated('stock_id')) {
                        $Ajax->activate('price');
                        $Ajax->activate('units');