mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
Merge pull request #43116 from frappe/mergify/bp/version-15-hotfix/pr-42816
fix: ensure `SellingController.onload` gets called for SO & DN (backport #42816)
This commit is contained in:
@@ -208,6 +208,8 @@ class DeliveryNote(SellingController):
|
||||
)
|
||||
|
||||
def onload(self):
|
||||
super().onload()
|
||||
|
||||
if self.docstatus == 0:
|
||||
self.set_onload("has_unpacked_items", self.has_unpacked_items())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user