From 07a57c101c832cd4e48a62d7035eca57cb91c658 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 5 Jul 2012 15:44:09 +0530 Subject: [PATCH] delete row issue in grid fixed --- py/webnotes/model/doclist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/webnotes/model/doclist.py b/py/webnotes/model/doclist.py index 94d5a75209..3b09e7b2f0 100644 --- a/py/webnotes/model/doclist.py +++ b/py/webnotes/model/doclist.py @@ -191,7 +191,7 @@ class DocList: if hasattr(self.obj, 'custom_' + method): getattr(self.obj, 'custom_' + method)() - trigger(method, self.doc) + trigger(method, self.obj.doc) self.set_doclist([self.obj.doc] + self.obj.doclist)