mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
Revert "fix: update_nsm only in warehouse creation (backport #54165)"
This commit is contained in:
@@ -65,7 +65,6 @@ class Warehouse(NestedSet):
|
|||||||
self.warn_about_multiple_warehouse_account()
|
self.warn_about_multiple_warehouse_account()
|
||||||
|
|
||||||
def on_update(self):
|
def on_update(self):
|
||||||
if self.is_new() or self.has_value_changed("parent_warehouse"):
|
|
||||||
self.update_nsm_model()
|
self.update_nsm_model()
|
||||||
|
|
||||||
def update_nsm_model(self):
|
def update_nsm_model(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user