mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 16:21:19 +00:00
fix(sales-invoice): get items from quotation (#18236)
This commit is contained in:
committed by
Nabin Hait
parent
68d7d6e223
commit
6fa4697efb
@@ -174,9 +174,13 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
|||||||
method: "erpnext.selling.doctype.quotation.quotation.make_sales_invoice",
|
method: "erpnext.selling.doctype.quotation.quotation.make_sales_invoice",
|
||||||
source_doctype: "Quotation",
|
source_doctype: "Quotation",
|
||||||
target: me.frm,
|
target: me.frm,
|
||||||
setters: {
|
setters: [{
|
||||||
customer: me.frm.doc.customer || undefined,
|
fieldtype: 'Link',
|
||||||
},
|
label: __('Customer'),
|
||||||
|
options: 'Customer',
|
||||||
|
fieldname: 'party_name',
|
||||||
|
default: me.frm.doc.customer,
|
||||||
|
}],
|
||||||
get_query_filters: {
|
get_query_filters: {
|
||||||
docstatus: 1,
|
docstatus: 1,
|
||||||
status: ["!=", "Lost"],
|
status: ["!=", "Lost"],
|
||||||
|
|||||||
Reference in New Issue
Block a user