refactor: add form tour for stock module onboarding
This commit is contained in:
parent
23e1d2b536
commit
0b669b3d7e
@ -356,3 +356,23 @@ erpnext.stock.delivery_note.set_print_hide = function(doc, cdt, cdn){
|
||||
dn_fields['taxes'].print_hide = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
frappe.tour['Delivery Note'] = [
|
||||
{
|
||||
fieldname: "customer",
|
||||
title: __("Customer"),
|
||||
description: __("This field is used to set the 'Customer'.")
|
||||
},
|
||||
{
|
||||
fieldname: "items",
|
||||
title: __("Items"),
|
||||
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") +
|
||||
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
|
||||
},
|
||||
{
|
||||
fieldname: "set_posting_time",
|
||||
title: __("Edit Posting Date and Time"),
|
||||
description: __("This option can be checked to edit the 'Posting Date' and 'Posting Time' fields.")
|
||||
}
|
||||
]
|
||||
|
@ -793,3 +793,42 @@ frappe.ui.form.on("UOM Conversion Detail", {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
frappe.tour['Item'] = [
|
||||
{
|
||||
fieldname: "item_name",
|
||||
title: __("Item Name"),
|
||||
description: __("This is the actual name of the product or service.")
|
||||
},
|
||||
{
|
||||
fieldname: "item_code",
|
||||
title: __("Item Code"),
|
||||
description: __("The Item Code can be thought of as a short-form that refers to the item. ") +
|
||||
__("For more information click here: ") +
|
||||
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/articles/item-codification' target='_blank'>Item Codification</a>" +
|
||||
__("."),
|
||||
},
|
||||
{
|
||||
fieldname: "item_group",
|
||||
title: __("Item Group"),
|
||||
description: __("This is used for categorizing items under a common criteria. ") +
|
||||
__("For more information click here: ") +
|
||||
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/item-group' target='_blank'>Item Group</a>" +
|
||||
__("."),
|
||||
},
|
||||
{
|
||||
fieldname: "stock_uom",
|
||||
title: __("Default Unit of Measure"),
|
||||
description: __("The Item Code can be thought of as a short-form that refers to the item. ") +
|
||||
__("For more information click here: ") +
|
||||
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/uom' target='_blank'>Unit of Measure</a>" +
|
||||
__("."),
|
||||
},
|
||||
{
|
||||
fieldname: "is_stock_item",
|
||||
title: __("Maintain Stock"),
|
||||
description: __("Selecting this creates a stock item and 'Stock Ledger' entries are created for all transcations. ") +
|
||||
__("Unselect this for a non-stock item such as a service.")
|
||||
},
|
||||
]
|
||||
|
@ -347,3 +347,23 @@ var validate_sample_quantity = function(frm, cdt, cdn) {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
frappe.tour['Purchase Receipt'] = [
|
||||
{
|
||||
fieldname: "supplier",
|
||||
title: __("Supplier"),
|
||||
description: __("This field is used to set the 'Supplier'.")
|
||||
},
|
||||
{
|
||||
fieldname: "items",
|
||||
title: __("Items"),
|
||||
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") +
|
||||
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
|
||||
},
|
||||
{
|
||||
fieldname: "set_posting_time",
|
||||
title: __("Edit Posting Date and Time"),
|
||||
description: __("This option can be checked to edit the 'Posting Date' and 'Posting Time' fields.")
|
||||
}
|
||||
]
|
||||
|
@ -1101,3 +1101,23 @@ function check_should_not_attach_bom_items(bom_no) {
|
||||
}
|
||||
|
||||
$.extend(cur_frm.cscript, new erpnext.stock.StockEntry({frm: cur_frm}));
|
||||
|
||||
frappe.tour['Stock Entry'] = [
|
||||
{
|
||||
fieldname: "stock_entry_type",
|
||||
title: __("Stock Entry Type"),
|
||||
description: __("There are multiple 'Stock Entry Type's you can even create your own. ") +
|
||||
__("For moving material between warehouses you can select 'Material Transfer'")
|
||||
},
|
||||
{
|
||||
fieldname: "items",
|
||||
title: __("Items"),
|
||||
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") +
|
||||
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
|
||||
},
|
||||
{
|
||||
fieldname: "set_posting_time",
|
||||
title: __("Edit Posting Date and Time"),
|
||||
description: __("This option can be checked to edit the 'Posting Date' and 'Posting Time' fields.")
|
||||
}
|
||||
]
|
||||
|
@ -86,3 +86,26 @@ function convert_to_group_or_ledger(frm){
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
frappe.tour['Warehouse'] = [
|
||||
{
|
||||
fieldname: "warehouse_name",
|
||||
title: __("Warehouse Name"),
|
||||
description: __("A 'Warehouse Name' can be assigned to the warehouse. This should reflect the type of goods it contains.")
|
||||
},
|
||||
{
|
||||
fieldname: "warehouse_type",
|
||||
title: __("Warehouse Type"),
|
||||
description: __("A 'Warehouse Type' can be set to classify warehouses.")
|
||||
},
|
||||
{
|
||||
fieldname: "is_group",
|
||||
title: __("Is Group"),
|
||||
description: __("If you check 'Is Group', you can group warehouses under this warehouse.")
|
||||
},
|
||||
{
|
||||
fieldname: "account",
|
||||
title: __("Account"),
|
||||
description: __("This field can be used to set a default account for all transactions with this warehouse.")
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user