Fix quote error
This commit is contained in:
parent
b2965001d1
commit
83e3c4c0fa
@ -147,7 +147,7 @@ frappe.ui.form.on("Request for Quotation",{
|
||||
"fieldname": "supplier",
|
||||
"options": doc.suppliers.map(d => d.supplier),
|
||||
"reqd": 1 },
|
||||
{ "fieldtype": "Button", "label": __('Create Supplier Quotation"),
|
||||
{ "fieldtype": "Button", "label": __('Create Supplier Quotation'),
|
||||
"fieldname": "make_supplier_quotation", "cssClass": "btn-primary" },
|
||||
]
|
||||
});
|
||||
|
@ -139,7 +139,7 @@ frappe.ui.form.on("Work Order", {
|
||||
|
||||
if (frm.doc.status == "Completed" &&
|
||||
frm.doc.__onload.backflush_raw_materials_based_on == "Material Transferred for Manufacture") {
|
||||
frm.add_custom_button(__('Create BOM"), () => {
|
||||
frm.add_custom_button(__('Create BOM'), () => {
|
||||
frm.trigger("make_bom");
|
||||
});
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ frappe.ui.form.on("Timesheet", {
|
||||
]
|
||||
});
|
||||
|
||||
dialog.set_primary_action(__('Create Sales Invoice"), () => {
|
||||
dialog.set_primary_action(__('Create Sales Invoice'), () => {
|
||||
var args = dialog.get_values();
|
||||
if(!args) return;
|
||||
dialog.hide();
|
||||
|
@ -506,7 +506,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend(
|
||||
}
|
||||
}},
|
||||
|
||||
{"fieldtype": "Button", "label": __('Create Purchase Order"), "fieldname": "make_purchase_order", "cssClass": "btn-primary"},
|
||||
{"fieldtype": "Button", "label": __('Create Purchase Order'), "fieldname": "make_purchase_order", "cssClass": "btn-primary"},
|
||||
]
|
||||
});
|
||||
|
||||
|
@ -449,7 +449,7 @@ $.extend(erpnext.item, {
|
||||
].concat(fields)
|
||||
});
|
||||
|
||||
me.multiple_variant_dialog.set_primary_action(__('Create Variants"), () => {
|
||||
me.multiple_variant_dialog.set_primary_action(__('Create Variants'), () => {
|
||||
let selected_attributes = get_selected_attributes();
|
||||
|
||||
me.multiple_variant_dialog.hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user