예제 #1
0
    def on_trash(self):
        # clear from child table (sub procedures)
        frappe.db.sql(
            """update `tabQuality Procedure Process`
			set `procedure`='' where `procedure`=%s""",
            self.name,
        )
        NestedSet.on_trash(self, allow_root_deletion=True)
예제 #2
0
 def on_trash(self):
     NestedSet.on_trash(self)
     WebsiteGenerator.on_trash(self)
예제 #3
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)
		self.delete_child_item_groups_key()
예제 #4
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)