|
26 | 26 |
|
27 | 27 | # include js, css files in header of desk.html |
28 | 28 | # app_include_css = "/assets/tcs_bugfix/css/tcs_bugfix.css" |
29 | | -# app_include_js = "/assets/tcs_bugfix/js/tcs_bugfix.js" |
30 | | - |
| 29 | +#app_include_js = ["tcs_bugfix.bundle.js"] |
| 30 | + |
31 | 31 | # include js, css files in header of web template |
32 | 32 | # web_include_css = "/assets/tcs_bugfix/css/tcs_bugfix.css" |
33 | 33 | # web_include_js = "/assets/tcs_bugfix/js/tcs_bugfix.js" |
|
43 | 43 | # page_js = {"page" : "public/js/file.js"} |
44 | 44 |
|
45 | 45 | # include js in doctype views |
46 | | -# doctype_js = {"doctype" : "public/js/doctype.js"} |
| 46 | +doctype_js = { |
| 47 | + "BOM": "public/js/custom_bom.js", |
| 48 | +} |
47 | 49 | # doctype_list_js = {"doctype" : "public/js/doctype_list.js"} |
48 | 50 | # doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} |
49 | 51 | # doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} |
|
129 | 131 | # --------------- |
130 | 132 | # Override standard doctype classes |
131 | 133 |
|
132 | | -# override_doctype_class = { |
133 | | -# "ToDo": "custom_app.overrides.CustomToDo" |
134 | | -# } |
| 134 | +#override_doctype_class = { |
| 135 | +# "BOM": "tcs_bugfix.overrides.bom.CustomBOM" |
| 136 | +#} |
135 | 137 |
|
136 | 138 | # Document Events |
137 | 139 | # --------------- |
|
174 | 176 | # Overriding Methods |
175 | 177 | # ------------------------------ |
176 | 178 | # |
177 | | -# override_whitelisted_methods = { |
178 | | -# "frappe.desk.doctype.event.event.get_events": "tcs_bugfix.event.get_events" |
179 | | -# } |
| 179 | +#override_whitelisted_methods = { |
| 180 | +# "erpnext.manufacturing.doctype.bom.bom.get_bom_material_detail": "tcs_bugfix.overrides.bom.get_bom_material_detail_fixed" |
| 181 | +#} |
| 182 | +#} |
180 | 183 | # |
181 | 184 | # each overriding function accepts a `data` argument; |
182 | 185 | # generated from the base implementation of the doctype dashboard, |
|
0 commit comments