Files
erpnext/erpnext/public/js
Mihir Kandoi 281e92fb6e fix(manufacturing): reach the whole configurator from tree toolbar actions
The toolbar handlers were copied onto view.events as unbound functions, so
`this` inside them was that object literal rather than the BOMConfigurator.
They worked only because the literal also carried `frm`, and broke as soon as
a handler called a method the literal did not list: get_item_code, added when
the tree started keying nodes on the row name, threw
"this.get_item_code is not a function" and killed Add Raw Material, Add Sub
Assembly and Convert to Sub Assembly.

Assign the instance instead of a hand-maintained whitelist. Every method is
reachable, `this.frm` keeps working, and no future method can be forgotten.

Fixes #57773

(cherry picked from commit 097ce0f348)
2026-08-04 10:09:12 +00:00
..
2024-03-10 19:45:40 +05:30
2024-03-19 12:03:36 +01:00
2024-03-10 19:45:40 +05:30
2024-03-19 12:03:36 +01:00
2024-03-10 19:45:40 +05:30
2024-03-10 19:45:40 +05:30
2025-05-08 14:09:06 +05:30
2024-03-10 19:45:40 +05:30
2021-05-07 14:51:05 +05:30
2024-03-10 19:45:40 +05:30
2021-05-07 14:51:05 +05:30
2026-04-13 15:30:56 +05:30
2024-03-19 12:03:36 +01:00
2024-03-10 19:45:40 +05:30
2024-03-10 19:45:40 +05:30
2024-03-10 19:45:40 +05:30
2024-03-10 19:45:40 +05:30