fix: Work order creation from sales order (#28388) (#28391)

* fix: Work order creation from sales order

* chore: formatting

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
(cherry picked from commit 2eccb7a1ca)

Co-authored-by: Sagar Sharma <63660334+s-aga-r@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-11-15 16:10:28 +05:30
committed by GitHub
parent 11f4e1cca3
commit 2899394bcf

View File

@@ -319,7 +319,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend(
title: __('Select Items to Manufacture'),
fields: fields,
primary_action: function() {
var data = d.get_values();
var data = {items: d.fields_dict.items.grid.get_selected_children()};
me.frm.call({
method: 'make_work_orders',
args: {