fix typo on get product bundle
This commit is contained in:
parent
72c7e73ce0
commit
4766562ff0
@ -72,7 +72,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
|
|||||||
this.frm.toggle_display("supplier_name",
|
this.frm.toggle_display("supplier_name",
|
||||||
(this.frm.doc.supplier_name && this.frm.doc.supplier_name!==this.frm.doc.supplier));
|
(this.frm.doc.supplier_name && this.frm.doc.supplier_name!==this.frm.doc.supplier));
|
||||||
|
|
||||||
if(this.frm.docstatus==0 &&
|
if(this.frm.doc.docstatus==0 &&
|
||||||
(this.frm.doctype==="Purchase Order" || this.frm.doctype==="Material Request")) {
|
(this.frm.doctype==="Purchase Order" || this.frm.doctype==="Material Request")) {
|
||||||
this.set_from_product_bundle();
|
this.set_from_product_bundle();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user