Browse Source

feat: added tour to manufacturing settings

develop
Shivam Mishra 4 years ago
parent
commit
41ef0b849e
  1. 28
      erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.js
  2. 4
      erpnext/manufacturing/onboarding_step/explore_manufacturing_settings/explore_manufacturing_settings.json

28
erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.js

@ -3,3 +3,31 @@
frappe.ui.form.on('Manufacturing Settings', {
});
frappe.tour["Manufacturing Settings"] = [
{
fieldname: "material_consumption",
title: __("Allow Multiple Material Consumption"),
description: __("If ticked, multiple materials can be used for a single Work Order. This is useful if one or more time consuming products are being manufactured.")
},
{
fieldname: "backflush_raw_materials_based_on",
title: __("Backflush Raw Materials"),
description: __("The Stock Entry of type 'Manufacture' is known as backflush. Raw materials being consumed to manufacture finished goods is known as backflushing. <br><br> When creating Manufacture Entry, raw-material items are backflushed based on BOM of production item. If you want raw-material items to be backflushed based on Material Transfer entry made against that Work Order instead, then you can set it under this field.")
},
{
fieldname: "default_wip_warehouse",
title: __("Work In Progress Warehouse"),
description: __("This Warehouse will be auto-updated in the Work In Progress Warehouse field of Work Orders.")
},
{
fieldname: "default_fg_warehouse",
title: __("Finished Goods Warehouse"),
description: __("This Warehouse will be auto-updated in the Target Warehouse field of Work Order.")
},
{
fieldname: "update_bom_costs_automatically",
title: __("Update BOM Cost Automatically"),
description: __("If ticked, the BOM cost will be automatically updated based on Valuation Rate / Price List Rate / last purchase rate of raw materials.")
}
];

4
erpnext/manufacturing/onboarding_step/explore_manufacturing_settings/explore_manufacturing_settings.json

@ -1,5 +1,5 @@
{
"action": "Update Settings",
"action": "Show Form Tour",
"creation": "2020-05-19 11:55:11.378374",
"docstatus": 0,
"doctype": "Onboarding Step",
@ -8,7 +8,7 @@
"is_mandatory": 0,
"is_single": 1,
"is_skipped": 0,
"modified": "2020-05-19 12:12:28.145366",
"modified": "2020-05-26 20:28:03.558199",
"modified_by": "Administrator",
"name": "Explore Manufacturing Settings",
"owner": "Administrator",

Loading…
Cancel
Save